Update OCF and handle new error code
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
6ee2bf1b5f
commit
d694228263
@ -108,6 +108,10 @@ struct {
|
|||||||
OCF_ERR_FLUSHING_INTERRUPTED,
|
OCF_ERR_FLUSHING_INTERRUPTED,
|
||||||
"Flushing of core interrupted"
|
"Flushing of core interrupted"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
OCF_ERR_FLUSH_IN_PROGRESS,
|
||||||
|
"Another flush operation in progress"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
OCF_ERR_CANNOT_ADD_CORE_TO_POOL,
|
OCF_ERR_CANNOT_ADD_CORE_TO_POOL,
|
||||||
"Error occurred during adding core device to core pool"
|
"Error occurred during adding core device to core pool"
|
||||||
|
@ -40,6 +40,7 @@ struct {
|
|||||||
{ OCF_ERR_DIRTY_SHUTDOWN, EFAULT },
|
{ OCF_ERR_DIRTY_SHUTDOWN, EFAULT },
|
||||||
{ OCF_ERR_DIRTY_EXISTS, EFAULT },
|
{ OCF_ERR_DIRTY_EXISTS, EFAULT },
|
||||||
{ OCF_ERR_FLUSHING_INTERRUPTED, EINTR },
|
{ OCF_ERR_FLUSHING_INTERRUPTED, EINTR },
|
||||||
|
{ OCF_ERR_FLUSH_IN_PROGRESS, EBUSY },
|
||||||
{ OCF_ERR_CANNOT_ADD_CORE_TO_POOL, EFAULT },
|
{ OCF_ERR_CANNOT_ADD_CORE_TO_POOL, EFAULT },
|
||||||
{ OCF_ERR_CACHE_IN_INCOMPLETE_STATE, ENODEV },
|
{ OCF_ERR_CACHE_IN_INCOMPLETE_STATE, ENODEV },
|
||||||
{ OCF_ERR_CORE_IN_INACTIVE_STATE, ENODEV },
|
{ OCF_ERR_CORE_IN_INACTIVE_STATE, ENODEV },
|
||||||
|
2
ocf
2
ocf
@ -1 +1 @@
|
|||||||
Subproject commit 53dc4020e3fb5b31846dfc39137e57ab8c8b6fe1
|
Subproject commit 72f11d0771945021949dafec54378acb9e30b97a
|
Loading…
Reference in New Issue
Block a user