Merge pull request #1045 from pdebski21/1024

fix for issue #1024 - mismatch metadata error msg
This commit is contained in:
Robert Baldyga 2022-02-07 16:33:32 +01:00 committed by GitHub
commit d942533f0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -154,6 +154,10 @@ struct {
" option or use --force to\n discard on-disk metadata and" " option or use --force to\n discard on-disk metadata and"
" start fresh cache instance.\n" " start fresh cache instance.\n"
}, },
{
OCF_ERR_SUPERBLOCK_MISMATCH,
"Metadata on the device doesn't match with metadata in DRAM"
},
{ {
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

@ -1 +1 @@
Subproject commit c6644116ae53f7ba851473cda5c02423380ebcdf Subproject commit c176daeec118430d6d1854302b9f9603b9b084ca