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

@@ -252,6 +252,10 @@ struct {
KCAS_ERR_WAITING_INTERRUPTED,
"Waiting for operation interrupted"
},
{
KCAS_ERR_CACHE_STOPPING,
"Cache being stopped"
},
};