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, OCF_ERR_STANDBY_ATTACHED,
"Cache device is attached, please detach it first with --standby --detach" "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*/ /* CAS kernel error mappings*/
{ {

2
ocf

@ -1 +1 @@
Subproject commit c6644116ae53f7ba851473cda5c02423380ebcdf Subproject commit 6af8d20ceef70898364b5742feba5d6b2743fb29