[RFC PATCH 0/2] nvme: nvme_setup_cmd() cleanup
Chaitanya Kulkarni
kch at nvidia.com
Wed Mar 9 09:04:35 PST 2022
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(-)
--
2.29.0
More information about the Linux-nvme
mailing list