Factor out the common operation between internal calls and bdev I/O calls of bdev_nvme_reset() into an new helper function _bdev_nvme_reset(). This is to improve readability and to clean-up the operation only for bdev I/O calls in the next patch. Replace bdev_nvme_reset() by _bdev_nvme_reset() for internal calls. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I7580a8fb40d5a1d694d5f913cde770ca95a0b0c8 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4991 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
sock | ||
Makefile |