![]() First try to clean only the mapping. This operation does not require any rollback, so even if flushing collision fails, core object is still intact. In case of error we inform user that core was not removed by returning new error code (-OCF_ERR_CORE_NOT_REMOVED). After flushing collision succeeds we remove core from metadata and flush superblock at the end. At that point the core is fully removed from OCF and even if superblock flush error occurs there is nothing we can do about it, so we just return the error code. Signed-off-by: Robert Baldyga <robert.baldyga@intel.com> |
||
---|---|---|
.. | ||
build | ||
functional | ||
unit |