+15
−5
Loading
bdev_nvme_submit_request() was used for newly submitted io as the entry point in bdev nvme module as well as internally in retry path. For newly submitted io, retry_count and submit_tsc must be inited to 0, which was not done causing it to be some junk value affecting retry mechanism. Refactor by adding new entry function bdev_nvme_submit_request_initial() to init submit_tsc and retry_count and then call bdev_nvme_submit_request() Fixes #3686 Change-Id: I0e705bc4eb3fd6c00a7b3e65e90df5706591ab10 Suggested-by:Jim Harris <jim.harris@nvidia.com> Signed-off-by:
Kaushik Chug <kaushik.chug@ngxstorage.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26168 Community-CI: Mellanox Build Bot Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com>