Separate the admin passthrough case from bdev_nvme_io_complete_nvme_status() into bdev_nvme_admin_passthru_complete_nvme_status() and from bdev_nvme_io_complete() into bdev_nvme_admin_passthru_complete(), respectively. Then make the return type of bdev_nvme_admin_passthru() to void by using bdev_nvme_admin_passthru_complete(). Besides, refactor bdev_nvme_admin_passthru() slightly. These clean up make the following patches simpler. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I79b89ee1b6360aa6ac6fc3c03f0469be99b0c1f2 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9899 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
scheduler | ||
sock | ||
Makefile |