]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20178b565de1dba5bdcf45a3888a6a537ac4c44b
treeb4a702fefd94689682a6be89773ef7c59f20db59
parent12e78c70e594456211bc0110d11fa915db353aaa
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