Loading
bdev/nvme: Change 2nd param of reset_cb from boolean to int
Change the second parameter of bdev_nvme_reset_cb from boolean to int. This is helpful to make the return type of bdev_nvme_reset_rpc() from int to void because bdev_nvme_reset_rpc() will always call reset_cb including error cases but does not want to loose error information. The second parameter of bdev_nvme_reset_complete() is still boolean because bdev_nvme_reset_complete() is related with disconnected_cb and the second parameter of disconnected_cb is also boolean. Changing all of these will require a lot of effort. This may be done in future. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I946e879dfe82c8f6423f7e1a72ec058a8c58c2ba Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18211 Community-CI: Mellanox Build Bot Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>