From: Lars Ellenberg Date: Mon, 20 Aug 2012 12:54:48 +0000 (+0200) Subject: drbd: temporarily suspend io in drbd_adm_disk_opts X-Git-Tag: v3.8-rc1~78^2~18^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ee98e2eb0c85f27b6f24a15d59fb54f99a93840;p=pandora-kernel.git drbd: temporarily suspend io in drbd_adm_disk_opts drbd_adm_disk_opts() does wait_event(mdev->al_wait, lc_try_lock(mdev->act_log)); drbd_al_shrink(mdev); If the device is very busy, this can take a very long time to succeed. Fix this by temporarily suspending IO, then quickly change the settings, and resume. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed