]> git.baikalelectronics.ru Git - kernel.git/commit
bfq: Allow current waker to defend against a tentative one
authorJan Kara <jack@suse.cz>
Thu, 19 May 2022 10:52:30 +0000 (12:52 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 19 May 2022 12:52:36 +0000 (06:52 -0600)
commitc1f5a80078e73526d7e4be143cd100d176943015
treeb0deddac8e7dcbedc254aab05e0500842a905ead
parent6eea5d24ef0b0f99e7661616fd898a80c838cc86
bfq: Allow current waker to defend against a tentative one

The code in bfq_check_waker() ignores wake up events from the current
waker. This makes it more likely we select a new tentative waker
although the current one is generating more wake up events. Treat
current waker the same way as any other process and allow it to reset
the waker detection logic.

Fixes: 7d1069a6c2ad ("block, bfq: make waker-queue detection more robust")
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220519105235.31397-2-jack@suse.cz
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c