Return more specific error on metadata CRC mismatch
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
eae8bf92e5
commit
9ec3ce30e2
@ -158,6 +158,10 @@ struct {
|
|||||||
OCF_ERR_SUPERBLOCK_MISMATCH,
|
OCF_ERR_SUPERBLOCK_MISMATCH,
|
||||||
"Metadata on the device doesn't match with metadata in DRAM"
|
"Metadata on the device doesn't match with metadata in DRAM"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
OCF_ERR_CRC_MISMATCH,
|
||||||
|
"Metadata checksum is not correct. Metadata is damaged"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
OCF_ERR_CACHE_NAME_MISMATCH,
|
OCF_ERR_CACHE_NAME_MISMATCH,
|
||||||
"Cache id specified by user and loaded from metadata are different"
|
"Cache id specified by user and loaded from metadata are different"
|
||||||
|
2
ocf
2
ocf
@ -1 +1 @@
|
|||||||
Subproject commit 174f7b5c2b53e9c4dd3c4768565e0501856a18ce
|
Subproject commit cf2d4327a169481c5130866e9d427b801528297f
|
Loading…
Reference in New Issue
Block a user