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> |
||
---|---|---|
.. | ||
lvol.c | ||
Makefile |