commit
5b2cd745cf
@ -143,13 +143,17 @@ struct {
|
||||
{
|
||||
OCF_ERR_METADATA_FOUND,
|
||||
"Old metadata found on device.\nPlease load cache metadata using --load"
|
||||
" option or use --force to\n discard on-disk metadata and"
|
||||
" start fresh cache instance.\n"
|
||||
" option or use --force to\n discard on-disk metadata and"
|
||||
" start fresh cache instance.\n"
|
||||
},
|
||||
{
|
||||
OCF_ERR_CACHE_NAME_MISMATCH,
|
||||
"Cache id specified by user and loaded from metadata are different"
|
||||
},
|
||||
{
|
||||
OCF_ERR_INVAL_CACHE_DEV,
|
||||
"Device does not meet requirements."
|
||||
},
|
||||
|
||||
/* CAS kernel error mappings*/
|
||||
{
|
||||
|
@ -45,6 +45,7 @@ struct {
|
||||
{ OCF_ERR_CORE_IN_INACTIVE_STATE, ENODEV },
|
||||
{ OCF_ERR_INVALID_CACHE_MODE, EINVAL },
|
||||
{ OCF_ERR_INVALID_CACHE_LINE_SIZE, EINVAL },
|
||||
{ OCF_ERR_INVAL_CACHE_DEV, EINVAL },
|
||||
|
||||
/* CAS kernel error mappings*/
|
||||
{ KCAS_ERR_ROOT, EPERM },
|
||||
|
Loading…
Reference in New Issue
Block a user