Merge pull request #382 from robertbaldyga/update-ocf-flush-deadlock
Update OCF and handle new error code
This commit is contained in:
@@ -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
Submodule ocf updated: 53dc4020e3...72f11d0771
Reference in New Issue
Block a user