Skip to content

RFC nvme: nvme_setup_cmd() cleanup

Chaitanya Kulkarni linux-nvme 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvme: derive zone-mgmt-act from struct requestdrivers/nvme/host/core.c drivers/nvme/host/nvme.h drivers/nvme/host/zns.c+14 -130 replies
2/2nvme: derive nvme cmd opcode from struct requestdrivers/nvme/host/core.c+10 -90 replies

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/2] nvme: nvme_setup_cmd() cleanup

Hi,

This cleans up the nvme_setup_cmd() so that it reduces number calls to nvme_setup_zone_mgmt_send() and nvme_setup_rw() along with removing an extra parameter to those functions.

Full this is partially tested code.

-ck

Chaitanya Kulkarni (2):
nvme: derive zone-mgmt-act from struct request
nvme: derive nvme cmd opcode from struct request

 drivers/nvme/host/core.c | 27 +++++++++++----------------
 drivers/nvme/host/nvme.h |  6 ++----
 drivers/nvme/host/zns.c  | 13 +++++++++++--
 3 files changed, 24 insertions(+), 22 deletions(-)
Signature · 1 line
2.29.0