Skip to content

RFC nvmet: implement target passthru commands support

Logan Gunthorpe linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 of 8 patches 0 repliesNew

5 of 8 patches are in this archive. The cover letter announces 8.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8nvme-core: add new interfaces+0 -01 reply
4/8nvmet: use const values for id-ctrl+0 -02 replies
8/8nvmet: add configfs interface for target passthru+0 -02 replies
8/8nvmet: add configfs interface for target passthru+0 -00 replies
8/8nvmet: add configfs interface for target passthru+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/8] nvmet: implement target passthru commands support

Hi Chaitanya,

I'm very much in favor of the concept of this patchset but I think it still needs some work. I'll post some notes on the following patches shortly.

Quoted 10 lines · Chaitanya Kulkarni

This patchset implements NVMeOF target passthrough commands support.

In current implementation on the target side, NVMe command is mapped on the block layer request which allows the target to use generic block device.

With the help of passthrough interface, it can now identify the NVMe controller and allow the host to issue NVMe commands along with the VUCs on the target side. For example with this feature, depending on the target controller support host can issue namespace management commands,
Vendor unique commands etc.

I'm already aware of what this patchset is trying to accomplish but I find this description confusing and hard to understand. I think you need to say something along the lines of:

"This patchset aims to enable passing through entire physical NVMe drive through an NVMe over fabrics interface. This implies that all namespaces on the target drive are passed through to the initiator one-to-one and all admin commands from the initiator are forwarded back to the target drive. This allows for exposing Vender Unique Commands (VUCs) over the NVMe-OF interface."

Logan