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

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