block: rename need_dispatch to piecemeal_dispatch in blk-mq sched#902
block: rename need_dispatch to piecemeal_dispatch in blk-mq sched#902blktests-ci[bot] wants to merge 1 commit into
Conversation
|
Upstream branch: e8c2f9f |
86d8d37 to
9805659
Compare
|
Upstream branch: eb3f4b7 |
fe8ee03 to
6f4c855
Compare
9805659 to
3f4a345
Compare
|
Upstream branch: 8fde5d1 |
6f4c855 to
ae94b11
Compare
3f4a345 to
c6dc343
Compare
|
Upstream branch: e43ffb6 |
ae94b11 to
48facdc
Compare
c6dc343 to
fc36596
Compare
|
Upstream branch: ba3e43a |
48facdc to
112eaf6
Compare
fc36596 to
7bed9c3
Compare
|
Upstream branch: ddd664b |
112eaf6 to
aeb6b5f
Compare
7bed9c3 to
a7bb5c5
Compare
|
Upstream branch: 979c294 |
aeb6b5f to
77fa3e1
Compare
a7bb5c5 to
5e41a3b
Compare
|
Upstream branch: acb7500 |
77fa3e1 to
c9e4f92
Compare
5e41a3b to
c3a084b
Compare
|
Upstream branch: 9716c08 |
c9e4f92 to
3839328
Compare
c3a084b to
5f78e5d
Compare
|
Upstream branch: 2a2974b |
3839328 to
172801f
Compare
5f78e5d to
e48f9db
Compare
|
Upstream branch: 062871f |
172801f to
e607f3a
Compare
199644a to
e6d9eb8
Compare
|
Upstream branch: 66affa3 |
e607f3a to
05ecb21
Compare
e6d9eb8 to
7d8604f
Compare
The local boolean in __blk_mq_sched_dispatch_requests() decides whether
to fall back to the per-ctx round-robin path (blk_mq_do_dispatch_ctx())
instead of the batch flush path (blk_mq_flush_busy_ctxs()). The whole
function is about dispatching anyway, so the name "need_dispatch" is
not particularly informative and can mislead readers into thinking that
a false value means "skip dispatching".
Rename it to "piecemeal_dispatch" to match the comment right above the
check ("dequeue request one by one from sw queue if queue is busy")
and to convey the actual intent: take the piecemeal, fair, one-at-a-time
path either when we just drained hctx->dispatch (so the device has
recently pushed back) or when the dispatch_busy EWMA still indicates
congestion. The fast batch path is only taken when neither signal
suggests recent backpressure.
No functional change.
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
|
Upstream branch: bade58e |
05ecb21 to
ecdb1fc
Compare
Pull request for series with
subject: block: rename need_dispatch to piecemeal_dispatch in blk-mq sched
version: 2
url: https://patchwork.kernel.org/project/linux-block/list/?series=1102111