aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2024-03-13 14:42:18 -0700
committerJens Axboe <[email protected]>2024-03-13 15:56:14 -0600
commit256aab46e31683d76d45ccbedc287b4d3f3e322b (patch)
tree68f53d685ad63a8239a06b258b1035ef2e7a9032 /scripts/rustdoc_test_builder.rs
parentb874d4aae58b92144ec2c8fa5dc0a27c98388fcc (diff)
Revert "block/mq-deadline: use correct way to throttling write requests"
The code "max(1U, 3 * (1U << shift) / 4)" comes from the Kyber I/O scheduler. The Kyber I/O scheduler maintains one internal queue per hwq and hence derives its async_depth from the number of hwq tags. Using this approach for the mq-deadline scheduler is wrong since the mq-deadline scheduler maintains one internal queue for all hwqs combined. Hence this revert. Cc: [email protected] Cc: Damien Le Moal <[email protected]> Cc: Harshit Mogalapalli <[email protected]> Cc: Zhiguo Niu <[email protected]> Fixes: d47f9717e5cf ("block/mq-deadline: use correct way to throttling write requests") Signed-off-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions