Error codes in IO path changed to OCF-specific

Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
This commit is contained in:
Michal Rakowski
2019-05-27 09:49:54 +02:00
parent 8a053c423c
commit 9f4536c6e3
22 changed files with 111 additions and 91 deletions

View File

@@ -752,7 +752,7 @@ static void _ocf_mngt_test_volume_first_read_complete(void *priv, int error)
if (diff) {
/* we read back different data than what we had just
written - this is fatal error */
OCF_PL_FINISH_RET(context->test.pipeline, -EIO);
OCF_PL_FINISH_RET(context->test.pipeline, -OCF_ERR_IO);
}
if (!ocf_volume_is_atomic(&cache->device->volume)) {