drbd: announce FLUSH/FUA capability to upper layers
authorLars Ellenberg <lars.ellenberg@linbit.com>
Mon, 25 Jun 2012 17:15:38 +0000 (19:15 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 24 Jul 2012 13:14:28 +0000 (15:14 +0200)
commita73ff3231df59a4b92ccd0dd4e73897c5822489b
treeb4a702fefd94689682a6be89773ef7c59f20db59
parentdb141b2f42b485b700465fe2401fbe65c65b190c
drbd: announce FLUSH/FUA capability to upper layers

Unconditionally announce FLUSH/FUA to upper layers.
If the lower layers on either node do not actually support this,
generic_make_request() will deal with it.

If this causes performance regressions on your setup,
make sure there are no volatile caches involved,
and mount -o nobarrier or equivalent.

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