Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 38dbb7dd authored by Jens Axboe's avatar Jens Axboe
Browse files

blk-cgroup: don't quiesce the queue on policy activate/deactivate


There's no potential harm in quiescing the queue, but it also doesn't
buy us anything. And we can't run the queue async for policy
deactivate, since we could be in the path of tearing the queue down.
If we schedule an async run of the queue at that time, we're racing
with queue teardown AFTER having we've already torn most of it down.

Reported-by: default avatarOmar Sandoval <osandov@fb.com>
Fixes: 4d199c6f

 ("blk-cgroup: ensure that we clear the stop bit on quiesced queues")
Tested-by: default avatarOmar Sandoval <osandov@fb.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 6c0ca7ae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment