From: Lars Ellenberg Date: Mon, 6 Jun 2011 09:31:42 +0000 (+0200) Subject: drbd: don't cond_resched_lock with IRQs disabled X-Git-Tag: v3.0-rc7~36^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ccee20e3ef4e12dbf02a18f17d386569b1f73ee;p=pandora-kernel.git drbd: don't cond_resched_lock with IRQs disabled The last commit, drbd: add missing spinlock to bitmap receive, introduced a cond_resched_lock(), where the lock in question is taken with irqs disabled. As we must not schedule with IRQs disabled, and cond_resched_lock_irq() does not exist, yet, we re-aquire the spin_lock_irq() for each bitmap page processed in turn. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed