fix for issue #1023 - better error for core size mismatch during activation/load

Signed-off-by: Piotr Debski <piotr.debski@intel.com>
This commit is contained in:
Piotr Debski
2022-01-11 05:17:20 +01:00
parent 7041517bf4
commit 4d3f18dca8
2 changed files with 6 additions and 1 deletions

View File

@@ -182,6 +182,11 @@ struct {
OCF_ERR_STANDBY_ATTACHED,
"Cache device is attached, please detach it first with --standby --detach"
},
{
OCF_ERR_CORE_SIZE_MISMATCH,
"Core volume size does not match"
" the size stored in cache metadata"
},
/* CAS kernel error mappings*/
{