summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2011-06-06 11:31:42 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-06-30 09:23:42 +0200
commit8ccee20e3ef4e12dbf02a18f17d386569b1f73ee (patch)
treea725b7844412c1cf9079e46ce779d33338ae1d67 /include
parent829c60878626be290a4c248e8f1b86a0d5cbd38b (diff)
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 <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions