Spdk/lib/blob
Mike Gerdts ae0b53b1b6 lvol: do not open esnaps during bs_load
As an lvstore is opening it calls spdk_bs_load(), which briefly opens
each blob and has no use for external snapshots. Since there is no point
in opening them at this time, don't open them. Once the blobstore has
been loaded, update lvs->load_esnaps so that external snapshots are
opened as the lvols open their blobs.

Change-Id: Ib16c8474300ff4b106aad0baa5b8b38332c23b01
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16424
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2023-04-05 19:18:17 +00:00
..
blob_bs_dev.c blob: Add translate_lba operation 2022-12-08 12:54:54 +00:00
blobstore.c lvol: do not open esnaps during bs_load 2023-04-05 19:18:17 +00:00
blobstore.h blob: defer unload until channel destroy done 2023-03-28 03:57:35 +00:00
Makefile so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
request.c blob: add IO channels for esnap clones 2023-03-28 03:57:35 +00:00
request.h blob: add IO channels for esnap clones 2023-03-28 03:57:35 +00:00
spdk_blob.map blob: hotplug new back_bs_dev 2023-03-28 03:57:35 +00:00
zeroes.c blob: Add translate_lba operation 2022-12-08 12:54:54 +00:00