Reset the status for a bdev_io that fails with NOMEM status back to PENDING immediately when it is put on the nomem_io list, instead of waiting until it gets submitted again. This helps keep the bdev_io states consistent, so that if we need to complete these IO for abort reasons later, that we aren't completing IO that already have a non-PENDING state. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I9532095141209ed6f7af362b52c689da62e755ce Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17335 Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Community-CI: Mellanox Build Bot |
||
---|---|---|
.. | ||
bdev_internal.h | ||
bdev_rpc.c | ||
bdev_zone.c | ||
bdev.c | ||
Makefile | ||
part.c | ||
scsi_nvme.c | ||
spdk_bdev.map | ||
vtune.c |