public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] nvme: nvme_setup_cmd() cleanup
@ 2022-03-09 17:04 Chaitanya Kulkarni
  2022-03-09 17:04 ` [RFC PATCH 1/2] nvme: derive zone-mgmt-act from struct request Chaitanya Kulkarni
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chaitanya Kulkarni @ 2022-03-09 17:04 UTC (permalink / raw)
  To: linux-nvme; +Cc: kbusch, hch, sagi, Chaitanya Kulkarni

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-14  7:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-09 17:04 [RFC PATCH 0/2] nvme: nvme_setup_cmd() cleanup Chaitanya Kulkarni
2022-03-09 17:04 ` [RFC PATCH 1/2] nvme: derive zone-mgmt-act from struct request Chaitanya Kulkarni
2022-03-09 17:04 ` [RFC PATCH 2/2] nvme: derive nvme cmd opcode " Chaitanya Kulkarni
2022-03-14  7:22 ` [RFC PATCH 0/2] nvme: nvme_setup_cmd() cleanup Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox