]> 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)
commit46cdc45acb089c811d9a54fd50af33b96e5fae9d
tree600a659ff6eb2ff6bfd11bb68cd7735d9246cf82
parent3ee859e384d453d6ac68bfd5971f630d9fa46ad3
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: 07757588e507 ("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