+14
−9
Loading
Add an assert to bdev_nvme_io_complete() to check the bdev_io is not admin command. Then, _bdev_nvme_submit_request() returns immediately for admin commands. Finally, rename bdev_nvme_admin_passthru_complete() by bdev_nvme_admin_complete() and use it for abort command. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: If2c4698410175212c9df5cf5eb00e7016b1c76b6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17643 Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Community-CI: Mellanox Build Bot