linux/drivers/block/drbd
Lars Ellenberg 227f052f47 drbd: fix drbd wire compatibility for empty flushes
DRBD has a concept of request epochs or reorder-domains,
which are separated on the wire by P_BARRIER packets.

Older DRBD is not able to handle zero-sized requests at all,
so we need to map empty flushes to these drbd barriers.

These are the equivalent of empty flushes, and
by default trigger flushes on the receiving side anyways
(unless not supported or explicitly disabled),
so there is no need to handle this differently in newer drbd either.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2012-08-16 17:12:56 +02:00
..
drbd_actlog.c drbd: announce FLUSH/FUA capability to upper layers 2012-07-24 15:14:28 +02:00
drbd_bitmap.c drbd: differentiate between normal and forced detach 2012-07-24 14:06:18 +02:00
drbd_int.h drbd: fix max_bio_size to be unsigned 2012-07-24 15:14:00 +02:00
drbd_main.c drbd: announce FLUSH/FUA capability to upper layers 2012-07-24 15:14:28 +02:00
drbd_nl.c drbd: fix max_bio_size to be unsigned 2012-07-24 15:14:00 +02:00
drbd_proc.c drbd: reset congestion information before reporting it in /proc/drbd 2012-07-24 14:07:48 +02:00
drbd_receiver.c drbd: announce FLUSH/FUA capability to upper layers 2012-07-24 15:14:28 +02:00
drbd_req.c drbd: fix drbd wire compatibility for empty flushes 2012-08-16 17:12:56 +02:00
drbd_req.h drbd: Immediately allow completion of IOs, that wait for IO completions on a failed disk 2012-05-09 10:16:04 +02:00
drbd_strings.c drbd: Rename enum drbd_state_ret_codes to enum drbd_state_rv 2011-03-10 11:36:18 +01:00
drbd_vli.h Fix common misspellings 2011-03-31 11:26:23 -03:00
drbd_worker.c drbd: do not reset rs_pending_cnt too early 2012-07-24 14:09:53 +02:00
drbd_wrappers.h drbd: Get rid of unnecessary macros (2) 2011-03-10 11:36:15 +01:00
Kconfig drbd: Kconfig fix 2009-12-29 17:38:28 +01:00
Makefile drbd: remove tracing bits 2009-10-01 21:17:58 +02:00