]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit5d7f5ce15156af205e175e8fa5c669ba40bf0c5e
tree1fc9ab7169aeb6527fac23de6ba16b1e677c2236
parenteeeefd41843218c55a8782a6920f044d9bf6207a
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: 87760e5eef35 ("block: hook up writeback throttling")
Signed-off-by: Jens Axboe <axboe@fb.com>
block/cfq-iosched.c