Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: d47f971 ("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]>
- Loading branch information