ocf/tests/functional
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
..
config Add global random seed config 2019-10-03 16:31:05 +02:00
pyocf Make core remove error recoverable 2022-03-25 21:32:55 +01:00
tests Remove "metadata_layout" parameter of the cache 2022-03-07 17:48:25 +01:00
utils Fix license 2021-10-28 13:08:50 +02:00
__init__.py *.ini files added 2019-04-04 10:29:20 +02:00
.gitignore Added codecov badge to README, added coverage files to .gitignore 2020-01-09 10:54:59 +01:00
Makefile Remove executable bit from Makefile 2021-11-24 17:01:03 +01:00
pytest.ini pyocf: document custom markers in pytest.ini 2022-01-13 17:42:42 +01:00