summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b3ce355)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
submit_more:
to_submit = prepped;
submit:
submit_more:
to_submit = prepped;
submit:
- if (s->inflight + BATCH_SUBMIT < DEPTH)
+ if (to_submit && (s->inflight + to_submit < DEPTH))
to_wait = 0;
else
to_wait = min(s->inflight + to_submit, BATCH_COMPLETE);
to_wait = 0;
else
to_wait = min(s->inflight + to_submit, BATCH_COMPLETE);