When last clone of a snapshot is being deleted we remove that snapshot from snapshots list. We should not do that as it still works as a snapshot and it is read-only, but it does not list as a snpashot from get_bdevs. Instead remove snapshot entry from the list when blob that represents that snapshot is being removed. Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I8d76229567fb0d9f15d29bad3fd94b9813249604 Reviewed-on: https://review.gerrithub.io/436971 (master) Reviewed-on: https://review.gerrithub.io/437194 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
blob.c | ||
bs_dev_common.c | ||
bs_scheduler.c | ||
Makefile |