[PATCH 0/7] nvmet: support of Fused operations

Dmitry Bogdanov d.bogdanov at yadro.com
Wed Sep 11 23:42:52 PDT 2024


Hi,

This patchset introduces a support of Atomic Test & Set (ATS) primitive.
It's implemented by means of Compare And Write fused commands in nvme target.

That allows ESXi to use Linux NVME Target as VMFS datastore storage.

The first 3 patches add a single Compare command support.
4th patch an refactoring to have a common point in the command execution flow.
5,6 patches adds support of Fused commands.
And the last patch allows to send fused commands by nvme io-passthru tool
for testing purposes.

The patchset based on nvme-6.12.

Dmitry Bogdanov (7):
  nvmet: add support of Compare command
  nvmet: bdev: add support of Compare command
  nvmet: file: add support of Compare command
  Revert "nvmet: Open code nvmet_req_execute()"
  nvmet: add support of fused operations
  nvmet: make fused commands be atomic
  nvme: allow send fused commands

 drivers/nvme/host/ioctl.c         |   6 +-
 drivers/nvme/target/admin-cmd.c   |   6 +-
 drivers/nvme/target/core.c        | 391 +++++++++++++++++++++++++++++-
 drivers/nvme/target/fc.c          |   6 +-
 drivers/nvme/target/io-cmd-bdev.c |  34 ++-
 drivers/nvme/target/io-cmd-file.c |  21 ++
 drivers/nvme/target/loop.c        |   2 +-
 drivers/nvme/target/nvmet.h       |  16 +-
 drivers/nvme/target/rdma.c        |   4 +-
 drivers/nvme/target/tcp.c         |   4 +-
 include/linux/nvme.h              |   2 +
 11 files changed, 473 insertions(+), 19 deletions(-)

-- 
2.25.1




More information about the Linux-nvme mailing list