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

@@ -102,6 +102,9 @@ typedef enum {
/** Flushing of core interrupted */
OCF_ERR_FLUSHING_INTERRUPTED,
/** Another flushing operation in progress */
OCF_ERR_FLUSH_IN_PROGRESS,
/** Adding core to core pool failed */
OCF_ERR_CANNOT_ADD_CORE_TO_POOL,