Fix deadlock on concurrent flush at the same cache

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga
2020-04-03 17:56:01 +02:00
parent 7799b24858
commit a9c36477d2
3 changed files with 20 additions and 9 deletions

View File

@@ -41,6 +41,7 @@ class OcfErrorCode(IntEnum):
OCF_ERR_DIRTY_SHUTDOWN = auto()
OCF_ERR_DIRTY_EXISTS = auto()
OCF_ERR_FLUSHING_INTERRUPTED = auto()
OCF_ERR_FLUSH_IN_PROGRESS = auto()
OCF_ERR_CANNOT_ADD_CORE_TO_POOL = auto()
OCF_ERR_CACHE_IN_INCOMPLETE_STATE = auto()
OCF_ERR_CORE_IN_INACTIVE_STATE = auto()