+6
−12
Loading
We did not have to store the original thread to nvme_bdev_io::orig_thread. We can get the same information via spdk_bdev_io_get_thread(). Hence, remove nvme_bdev_io::orig_thread and use spdk_bdev_io_get_thread() instead. Additionally, bdev_nvme_admin_passthru() did not have to store io_path into nvme_bdev_io::io_path. Remove it together in this patch. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I85e89df31e8e141b1b8efe31f8e76035b8dc7492 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17161 Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>