[PATCH v2 0/2] kref and passthrough cleanup

Kanchan Joshi joshi.k at samsung.com
Thu Apr 22 12:54:25 BST 2021


first patch is to avoid opencoding ns->kref, while second one is to remove
double memset in passthough io path.

since v1:
- (patch 2) move clearing-cmd part to nvme_setup_cmd (Christoph's feedback)

Kanchan Joshi (2):
  nvme: add nvme_get_ns helper
  nvme: avoid memset for passthrough requests

 drivers/nvme/host/core.c | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

-- 
2.25.1




More information about the Linux-nvme mailing list