Merge pull request #357 from arutk/parallel_flush_Fix

Queue flush portion requests to the back of IO queue
This commit is contained in:
Robert Baldyga 2020-03-24 23:15:11 +01:00 committed by GitHub
commit cf5e13c4aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: