+9
−19
Loading
For I/O commands bio->io_path holds an io_path it is submitted to but for admin commands bio->io_path is cleared. If we use bio->io_path, we can call spdk_nvme_ctrlr_cmd_abort_ext() only for bio->io_path when bio->io_path is not NULL or regard bio to be an admin command if bio->io_path is NULL. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I821f6040bb7617801f86ebc67bd47057239973e4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17821 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot