]> 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)
commit391656870e40391a64e76b1c370622a7f277acd6
tree600a659ff6eb2ff6bfd11bb68cd7735d9246cf82
parent3330b965374b4879d35529716c2aac0e6326c225
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: 4f9cf39d120b ("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