Prohibit locking cache while its is being stopped

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk
2021-03-05 11:35:52 +01:00
parent 7628474adf
commit 35602acb8f
3 changed files with 35 additions and 13 deletions

View File

@@ -586,6 +586,9 @@ enum kcas_error {
/** Waiting for async operation was interrupted*/
KCAS_ERR_WAITING_INTERRUPTED,
/** Cache already being stopped*/
KCAS_ERR_CACHE_STOPPING,
};
#endif