]> git.baikalelectronics.ru Git - kernel.git/commit
block: fix async_depth sysfs interface for mq-deadline
authorJens Axboe <axboe@kernel.dk>
Thu, 20 Jan 2022 17:28:13 +0000 (10:28 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Jan 2022 17:54:02 +0000 (10:54 -0700)
commit51dcf770c71c58332125e054dac0346b5c80c53a
tree600a659ff6eb2ff6bfd11bb68cd7735d9246cf82
parenta62e2d6539cb8996bcb2c1d37c7b9ea4ac0c0061
block: fix async_depth sysfs interface for mq-deadline

A previous commit added this feature, but it inadvertently used the wrong
variable to show/store the setting from/to, victimized by copy/paste. Fix
it up so that the async_depth sysfs interface reads and writes from the
right setting.

Fixes: aabed89a729a ("block/mq-deadline: Reserve 25% of scheduler tags for synchronous requests")
Link: https://bugzilla.kernel.org/show_bug.cgi?id=215485
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/mq-deadline.c