drbd: Fixed processing of disk-barrier, disk-flushes and disk-drain
authorPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 30 Mar 2012 12:12:15 +0000 (14:12 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:58:25 +0000 (16:58 +0100)
commit27eb13e99b515c52ba5a151a1acce6afb8a9b2b6
tree5b9046d339f29dc22a5f57cfd5650d5db33d9e7f
parent9ed57dcbda37a1a1fb25ccda4206cc417e54e813
drbd: Fixed processing of disk-barrier, disk-flushes and disk-drain

Since drbd_bump_write_ordering() is called in the attaching
process while the disk state is D_ATTACHING, it was not
considering these three flags during attach.

A call to this function was missing form drbd_adm_disk_opts().

Fixed both issues.

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