]> git.baikalelectronics.ru Git - kernel.git/commit
cfq-iosched: don't call wbt_disable_default() with IRQs disabled
authorJens Axboe <axboe@fb.com>
Thu, 16 Feb 2017 14:57:33 +0000 (07:57 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 16 Feb 2017 15:02:06 +0000 (08:02 -0700)
commit31ca3a81c118f79757398631c340c4367df83448
tree1fc9ab7169aeb6527fac23de6ba16b1e677c2236
parent83909614f018289c53271f12c828bc34053e6a5a
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: Gabriel C <nix.or.die@gmail.com>
Fixes: da138941a1ef ("block: hook up writeback throttling")
Signed-off-by: Jens Axboe <axboe@fb.com>
block/cfq-iosched.c