ocf/tests
Robert Baldyga aa4622cc01 Make core remove error recoverable
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>
2022-03-25 21:32:55 +01:00
..
build Fix license 2021-10-28 13:08:50 +02:00
functional Make core remove error recoverable 2022-03-25 21:32:55 +01:00
unit tests: Add unit tests for bisect generator 2022-01-31 06:59:28 +01:00