drbd: a few more GFP_KERNEL -> GFP_NOIO
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 26 Sep 2012 12:22:40 +0000 (14:22 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 9 Nov 2012 13:11:40 +0000 (14:11 +0100)
commit8747d30af97232f9ff4cde78b8d259cc715a9b7a
tree4c983fe736a4bdfc80f7a978011d01932ec85e02
parentbc891c9ae3fb2848922e0f0da22fd7de0d58dc1b
drbd: a few more GFP_KERNEL -> GFP_NOIO

This has not yet been observed, but conceivably, when using GFP_KERNEL
allocations from drbd_md_sync(), drbd_flush_after_epoch() or
receive_SyncParam(), we could trigger additional IO to our own device,
or an other device in a criss-cross setup, and end up in a local
deadlock, or potentially a distributed deadlock in a criss-cross setup
involving the peer blocked in a similar way waiting for us to make
progress.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_worker.c