]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/block/drbd/drbd_req.c
drbd: application writes may set-in-sync in protocol != C
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 20 Mar 2014 10:19:22 +0000 (11:19 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 16:35:02 +0000 (18:35 +0200)
commit08d0dabf48ccf55e310b8ae9381858b477cabe2e
treef59b53661650af6df67e71e958ca981ec0e2cdd6
parent5d0b17f1a29e8189d04aef447a3a53cfd05529b2
drbd: application writes may set-in-sync in protocol != C

If "dirty" blocks are written to during resync,
that brings them in-sync.

By explicitly requesting write-acks during resync even in protocol != C,
we now can actually respect this.

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