When an operation fails, we shouldn't pass a handle or a 'valid' blob ID to the caller's completion function. The caller *should* ignore it when bserrno != 0, but it's best to not take that chance. Fixes #685. Note: #685 seems to have a broader issue related to a possibly locked NVMe SSD in the submitter's system. This only fixes the assert() that was hit. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I3fb3368ccfe0580f0c505285d4b1e9aca797b6a6 Reviewed-on: https://review.gerrithub.io/c/445941 (master) Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/447449 Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
bdev | ||
blob_bs_dev.c | ||
blobstore.c | ||
blobstore.h | ||
Makefile | ||
request.c | ||
request.h | ||
zeroes.c |