drbd: report congestion if we are waiting for some userland callback
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 14 Jun 2012 13:14:06 +0000 (15:14 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 24 Jul 2012 12:07:18 +0000 (14:07 +0200)
If the drbd worker thread is synchronously waiting for some userland
callback, we don't want some casual pageout to block on us.
Have drbd_congested() report congestion in that case.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>

No differences found