Spdk/lib/blob
Piotr Pelplinski ede6d97e3c blobstore: add inflate call
Inflate call can be used on thin provisioned blob or clones.

Function allocates all unallocated clusters on specified blob and:
 - For clones, copies data from backing blob.
 - For thin provisioned blobs, clusters are zeroed.

After this call all dependency from specified blob is removed
what allows deletion i.e. snapshots.

Signed-off-by: Piotr Pelplinski <piotr.pelplinski@intel.com>
Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Change-Id: Ibff569e45b12068b2fb46557156be348b36c252b
Reviewed-on: https://review.gerrithub.io/399367
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2018-05-11 17:22:00 +00:00
..
bdev bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
blob_bs_dev.c blobstore: Add a blob_bs_dev that provides back_bs_dev for clones 2018-03-08 11:34:15 -05:00
blobstore.c blobstore: add inflate call 2018-05-11 17:22:00 +00:00
blobstore.h blobstore: clone-snapshot blobstore relations 2018-04-20 15:22:53 -04:00
Makefile blobstore: Add a blob_bs_dev that provides back_bs_dev for clones 2018-03-08 11:34:15 -05:00
request.c blobstore: fix missing debug logs 2018-03-07 11:12:56 -05:00
request.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
zeroes.c blob: Add a bs_dev that always returns 0 2018-01-30 15:46:18 -05:00