Loading
bdev/nvme: Move fast_io_fail_timeout check from check_op_after_reset
Checking fast_io_fail_timeout does not affect operation after reset. It was confusing that a check function changed state. But, it is still desirable that the check is done under nvme_ctrlr->mutex. Hence, move checking fast_io_fail_timeout from bdev_nvme_check_op_after_reset() to bdev_nvme_reset_ctrlr_complete(). Change-Id: I709509ce5ff1194ee6e3650b9e3c454d08f18dca Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/25861 Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-by:
Jacek Kalwas <jacek.kalwas@nutanix.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Ben Walker <ben@nvidia.com> Community-CI: Mellanox Build Bot