drbd: a few more GFP_KERNEL -> GFP_NOIO
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 20 Sep 2012 12:24:20 +0000 (14:24 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 30 Oct 2012 07:39:18 +0000 (08:39 +0100)
commit8b45a5c8a190d0ea0077928fd8e95c0752e40e41
tree181d93830f9bc482496548584b7b5137a04b3119
parent0b143d4382b62db6738196caaefa793e5c0f6690
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>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_receiver.c