aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/test.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2018-09-27 01:55:13 +0000
committerJens Axboe <[email protected]>2018-09-27 01:57:24 +0000
commit854f31ccdd7964c9c2e68da234a3a8aedb51cf6b (patch)
treebd335dac4d4722bbe1c09cb76290b50da254fd8b /tools/testing/radix-tree/test.c
parentblk-mq: Allow blocking queue tag iter callbacks (diff)
downloadkernel-854f31ccdd7964c9c2e68da234a3a8aedb51cf6b.tar.gz
kernel-854f31ccdd7964c9c2e68da234a3a8aedb51cf6b.zip
block: fix deadline elevator drain for zoned block devices
When the deadline scheduler is used with a zoned block device, writes to a zone will be dispatched one at a time. This causes the warning message: deadline: forced dispatching is broken (nr_sorted=X), please report this to be displayed when switching to another elevator with the legacy I/O path while write requests to a zone are being retained in the scheduler queue. Prevent this message from being displayed when executing elv_drain_elevator() for a zoned block device. __blk_drain_queue() will loop until all writes are dispatched and completed, resulting in the desired elevator queue drain without extensive modifications to the deadline code itself to handle forced-dispatch calls. Signed-off-by: Damien Le Moal <[email protected]> Fixes: 8dc8146f9c92 ("deadline-iosched: Introduce zone locking support") Cc: [email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/test.c')
0 files changed, 0 insertions, 0 deletions