e8356fd233
Currently we are missing cleanup routine for case when power failure interrupts creating snapshot. This patch add such routine. For the case where we find blob with a parent snapshot ID matching newly created snapshot we can finish whole process during recovery by processing forward with setting snpashot as read only, removing xattr and syncing. We should remove snapshot only if there is no blob with parent pointing at snapshot. Fixes github issue #760 Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I2f0e298164e07a2b4dfa5367e8878facef640702 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455216 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
||
---|---|---|
.. | ||
app | ||
bdev | ||
blobfs | ||
blobstore | ||
common | ||
config_converter | ||
cpp_headers | ||
env | ||
event | ||
ftl | ||
ioat | ||
iscsi_tgt | ||
json_config | ||
lvol | ||
nvme | ||
nvmf | ||
ocf | ||
pmem | ||
rpc_client | ||
spdkcli | ||
unit | ||
vhost | ||
Makefile | ||
spdk_cunit.h |