Merge pull request #277 from Ostrokrzew/ocf_update

Casadm update
This commit is contained in:
Robert Baldyga 2020-01-15 15:05:03 +01:00 committed by GitHub
commit 5b2cd745cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -150,6 +150,10 @@ struct {
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*/
{

View File

@ -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 },