android_kernel_motorola_sm6225/drivers/block/drbd
Lars Ellenberg 5a22db8968 drbd: serialize sending of resync uuid with pending w_send_oos
To improve the latency of IO requests during bitmap exchange,
we recently allowed writes while waiting for the bitmap, sending "set
out-of-sync" information packets for any newly dirtied bits.

We have to make sure that the new resync-uuid does not overtake
these "set oos" packets. Once the resync-uuid is received, the
sync target starts the resync process, and expects the bitmap to
only be cleared, not re-set.

If we use this protocol extension, we queue the generation and sending
of the resync-uuid on the worker, which naturally serializes with all
previously queued packets.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2011-03-10 11:43:35 +01:00
..
drbd_actlog.c drbd: bitmap keep track of changes vs on-disk bitmap 2011-03-10 11:43:19 +01:00
drbd_bitmap.c drbd: Removed a reference to debug macros removed long time ago 2011-03-10 11:43:27 +01:00
drbd_int.h drbd: serialize sending of resync uuid with pending w_send_oos 2011-03-10 11:43:35 +01:00
drbd_main.c drbd: serialize sending of resync uuid with pending w_send_oos 2011-03-10 11:43:35 +01:00
drbd_nl.c drbd: allow petabyte storage on 64bit arch 2011-03-10 11:43:24 +01:00
drbd_proc.c drbd: allow petabyte storage on 64bit arch 2011-03-10 11:43:24 +01:00
drbd_receiver.c drbd: add debugging assert to make sure the protocol is clean 2011-03-10 11:43:34 +01:00
drbd_req.c drbd: Documenting drbd_should_do_remote() and drbd_should_send_oos() 2011-03-10 11:43:32 +01:00
drbd_req.h drbd: Begin to account BIO processing time before inc_ap_bio() 2011-03-10 11:34:57 +01: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 The DRBD driver 2009-10-01 21:17:49 +02:00
drbd_worker.c drbd: serialize sending of resync uuid with pending w_send_oos 2011-03-10 11:43:35 +01: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