block, bfq: forbid stable merging of queues associated with different actuators
authorPaolo Valente <paolo.valente@linaro.org>
Tue, 3 Jan 2023 14:54:57 +0000 (15:54 +0100)
committerJens Axboe <axboe@kernel.dk>
Sun, 29 Jan 2023 22:18:32 +0000 (15:18 -0700)
commitb752989897b4b71260e5456be16c44e9a96c999b
tree8469685bedf319276d8cd2c301db60bf88b432d1
parent9778369a2d6c5ed2b81a04164c4aa9da1bdb193d
block, bfq: forbid stable merging of queues associated with different actuators

If queues associated with different actuators are merged, then control
is lost on each actuator. Therefore some actuator may be
underutilized, and throughput may decrease. This problem cannot occur
with basic queue merging, because the latter is triggered by spatial
locality, and sectors for different actuators are not close to each
other. Yet it may happen with stable merging. To address this issue,
this commit prevents stable merging from occurring among queues
associated with different actuators.

Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Link: https://lore.kernel.org/r/20230103145503.71712-3-paolo.valente@linaro.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c