Spdk/test/unit/lib/blob
Maciej Szwed 8ca38e04b1 blob: Remove snpashot from the list only on blob deletion
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>
2018-12-14 17:59:20 +00:00
..
blob.c blob: Remove snpashot from the list only on blob deletion 2018-12-14 17:59:20 +00:00
bs_dev_common.c blobstore: no copy write in thin-provisioning 2018-07-17 17:44:13 +00:00
bs_scheduler.c blob_ut: separate scheduler for blobstore unit tests 2018-05-24 17:48:19 +00:00
Makefile test: move blob library unit tests to test/unit 2017-06-21 18:57:35 -04:00