rq-qos: set ourself TASK_UNINTERRUPTIBLE after we schedule
authorJosef Bacik <josef@toxicpanda.com>
Tue, 16 Jul 2019 20:19:28 +0000 (16:19 -0400)
committerJens Axboe <axboe@kernel.dk>
Thu, 18 Jul 2019 16:20:13 +0000 (10:20 -0600)
commitd14a9b389a86a5154b704bc88ce8dd37c701456a
tree9eb9a85600a97d69d33fb701f240d7d3f58f90db
parent64e7ea875ef63b2801be7954cf7257d1bfccc266
rq-qos: set ourself TASK_UNINTERRUPTIBLE after we schedule

In case we get a spurious wakeup we need to make sure to re-set
ourselves to TASK_UNINTERRUPTIBLE so we don't busy wait.

Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-rq-qos.c