[PATCH V2 00/12] nvmet: passthru fixes and improvements

Chaitanya Kulkarni chaitanya.kulkarni at wdc.com
Mon Aug 31 18:26:55 EDT 2020


Hi,

This patch series has several small trivial fixes and few code
optimizations.

Regards,
Chaitanya

Changes from V1: -

1. Remove the sg_cnt check and nvmet_passthru_sg_map() annotation.
2. Add annotations and performance numbers for newly added patch #1.
3. Move ctrl refcount and module refcount into nvme_dev_open() and
   nvme_dev_release(). Add prepration patch for the same.
4. Add reviewed-by tags.

Chaitanya Kulkarni (12):
  nvme-core: annotate nvme_alloc_request()
  nvmet: for pt I/O commands use likely for ns check
  nvmet: use consistent type with id->nlbaf
  nvmet: use consistent type for op_flag
  nvmet: use unlikely for uncommon commands
  nvmet: remove op_flags for write commands
  nvmet: decouple nvme_ctrl_get_by_path()
  nvmet: move get/put ctrl into dev open/release
  nvmet: fix nvme module ref count Oops
  block: move blk_rq_bio_prep() to linux/blk-mq.h
  nvmet: use minimized version of blk_rq_append_bio
  nvmet: use inline bio for passthru fast path

 block/blk.h                    | 12 -------
 drivers/nvme/host/core.c       | 31 ++++++++++------
 drivers/nvme/host/nvme.h       |  2 +-
 drivers/nvme/target/nvmet.h    |  2 ++
 drivers/nvme/target/passthru.c | 64 +++++++++++++++++++++-------------
 include/linux/blk-mq.h         | 12 +++++++
 6 files changed, 76 insertions(+), 47 deletions(-)

-- 
2.22.1




More information about the Linux-nvme mailing list