Merge pull request #357 from arutk/parallel_flush_Fix
Queue flush portion requests to the back of IO queue
This commit is contained in:
commit
cf5e13c4aa
@ -376,7 +376,7 @@ static void _ocf_mngt_flush_portion_end(void *private_data, int error)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ocf_engine_push_req_front(fc->req, false);
|
ocf_engine_push_req_back(fc->req, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -431,7 +431,7 @@ static void _ocf_mngt_flush_container(
|
|||||||
fc->ticks1 = 0;
|
fc->ticks1 = 0;
|
||||||
fc->ticks2 = UINT_MAX;
|
fc->ticks2 = UINT_MAX;
|
||||||
|
|
||||||
ocf_engine_push_req_front(fc->req, true);
|
ocf_engine_push_req_back(fc->req, true);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
finish:
|
finish:
|
||||||
|
Loading…
Reference in New Issue
Block a user