Merge pull request #382 from robertbaldyga/update-ocf-flush-deadlock

Update OCF and handle new error code
This commit is contained in:
Robert Baldyga
2020-04-06 10:05:32 +02:00
committed by GitHub
3 changed files with 6 additions and 1 deletions

View File

@@ -108,6 +108,10 @@ struct {
OCF_ERR_FLUSHING_INTERRUPTED,
"Flushing of core interrupted"
},
{
OCF_ERR_FLUSH_IN_PROGRESS,
"Another flush operation in progress"
},
{
OCF_ERR_CANNOT_ADD_CORE_TO_POOL,
"Error occurred during adding core device to core pool"

View File

@@ -40,6 +40,7 @@ struct {
{ OCF_ERR_DIRTY_SHUTDOWN, EFAULT },
{ OCF_ERR_DIRTY_EXISTS, EFAULT },
{ OCF_ERR_FLUSHING_INTERRUPTED, EINTR },
{ OCF_ERR_FLUSH_IN_PROGRESS, EBUSY },
{ OCF_ERR_CANNOT_ADD_CORE_TO_POOL, EFAULT },
{ OCF_ERR_CACHE_IN_INCOMPLETE_STATE, ENODEV },
{ OCF_ERR_CORE_IN_INACTIVE_STATE, ENODEV },

2
ocf

Submodule ocf updated: 53dc4020e3...72f11d0771