[PATCH V2 0/8] nvme: few cleanups and small improvements

Chaitanya Kulkarni chaitanya.kulkarni at wdc.com
Sun Feb 28 21:06:03 EST 2021


Hi,

This has few cleanups such as variable data type, removing oneliner
wrappers for single callers, removing duplicate kfree() and small
improvements for NVMeOF Passthru fast path such as likely annotation,
removing the extra checks, making function inline for host/core.c.
Last couple of patches fixes warning for FC function header
documentation.

-ck

v1->v2:

1. Rename the nvme_init_identify() to nvme_init_ctrl_finish(),
2. Move nvme_id_ctrl struct initialization code into separate helper
   nvme_init_identify().
3. Remove the patches to avoid extra churn, keep the fc patches.
4. Keep the small improvements which are needed for the passthru code.
5. Add pr cleanup patch.

Chaitanya Kulkarni (8):
  nvme-core: rename nvme_init_identify()
  nvme-core: split init identify into helper
  nvme-core: mark nvme_setup_passsthru() inline
  nvme-core: use likely in nvme_init_request()
  nvme-core: don't check nvme_req flags for new req
  nvme-fc: fix the function documentation comment
  nvmet-fc: update function documentation
  nvme-core: add new line after variable declatation

 drivers/nvme/host/core.c   | 79 ++++++++++++++++++++++----------------
 drivers/nvme/host/fc.c     |  4 +-
 drivers/nvme/host/nvme.h   |  2 +-
 drivers/nvme/host/pci.c    |  2 +-
 drivers/nvme/host/rdma.c   |  2 +-
 drivers/nvme/host/tcp.c    |  2 +-
 drivers/nvme/target/fc.c   |  1 +
 drivers/nvme/target/loop.c |  2 +-
 8 files changed, 53 insertions(+), 41 deletions(-)

-- 
2.22.1




More information about the Linux-nvme mailing list