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: NGabriel C <nix.or.die@gmail.com> Fixes: 87760e5e ("block: hook up writeback throttling") Signed-off-by: NJens Axboe <axboe@fb.com>
Showing
想要评论请 注册 或 登录