af1c4f7ffb
If we find a blob during the initial iteration during load that doesn't have a name, we cannot just immediately unload the blobstore, since the 'bad' blob is still open. Instead finish the iteration, and unload the blobstore (with failure status) after the iteration is complete. This is somewhat related to issue #1831. By ensuring we can unload the blobstore, it closes the open descriptor on the underlying bdev, which allows the bdev subsystem to exit on application shutdown. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I7ecd189842704bb809f25c60efa8f81dcf8ca79c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11352 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
||
---|---|---|
.. | ||
lvol.c | ||
Makefile | ||
spdk_lvol.map |