drbd: respect no-md-barriers setting also when changed online via disk-options
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 25 Oct 2012 22:41:50 +0000 (00:41 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 6 Dec 2012 12:00:04 +0000 (13:00 +0100)
commit691631c0652bc47e6d20b0d981e23a9025fd794e
tree86f1b42988865dc1e43aba9a76b1a421b2f4144c
parent298307ed1d2ac4815b0ce9a5f1c9cc643f4a9aca
drbd: respect no-md-barriers setting also when changed online via disk-options

We need to propagate the configuration into the flag bits,
or it won't be effective.

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