Skip to content
Commit 5d7f5ce1 authored by Jens Axboe's avatar Jens Axboe
Browse files

cfq-iosched: don't call wbt_disable_default() with IRQs disabled



wbt_disable_default() calls del_timer_sync() to wait for the wbt
timer to finish before disabling throttling. We can't do this with
IRQs disable. This fixes a lockdep splat on boot, if non-root
cgroups are used.

Reported-by: default avatarGabriel C <nix.or.die@gmail.com>
Fixes: 87760e5e

 ("block: hook up writeback throttling")
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent eeeefd41
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