ocf/tests/functional/pyocf
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
..
types Make core remove error recoverable 2022-03-25 21:32:55 +01:00
wrappers Add wrapper for cache_config_set_default 2022-02-24 12:27:10 +01:00
__init__.py Implement pyocf adapter with sample OCF test 2019-03-07 12:48:40 +01:00
ocf.py Fix license 2021-10-28 13:08:50 +02:00
rio.py rio: fix size comparison in 2022-02-24 15:02:46 +01:00
utils.py Enable Size comparisons in pyocf 2022-02-24 14:56:09 +01:00