Spdk/include/spdk_internal
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
..
accel_module.h accel: don't modify user iovs when allocating buffers 2023-03-13 21:02:27 +00:00
assert.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
event.h thread: use spdk_thread_get_app_thread instead of _spdk_get_app_thread 2023-02-24 12:46:27 +00:00
idxd.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
init.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
lvolstore.h lvol: do not open esnaps during bs_load 2023-04-05 19:18:17 +00:00
mlx5.h module/accel: Add mlx5 accel module 2023-01-19 22:00:58 +00:00
mock.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvme_tcp.h nvme/tcp: Remove iov_sgl from PDU structure 2023-03-10 11:43:40 +00:00
rdma.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
sgl.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
sock.h sock: change min recv/send buf sizes to 4 KiB 2023-04-04 07:36:23 +00:00
thread.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
trace_defs.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
uring.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
usdt.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
utf.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
vhost_user.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
virtio.h misc: Fix spelling mistakes 2022-12-09 08:16:18 +00:00