c5d80a8bc3
In some scenarios, a split IO can immediately complete. For example, a very large unmap operation to a newly thin-provisioned blob has no operations to perform, so the batch for its operation immediately completes. But if it immediately completes, we can't recursively submit the next split IO. So use variables in the context structure to detect when an operation immediately completes, to allow it to unwind and submit the next operation without recursing. Fixes issue #2347. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I8e4c121190c7d08152aa8de20cf6abc55b5edc46 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11388 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> |
||
---|---|---|
.. | ||
blob_bs_dev.c | ||
blobstore.c | ||
blobstore.h | ||
Makefile | ||
request.c | ||
request.h | ||
spdk_blob.map | ||
zeroes.c |