linux/drivers/block
Lars Ellenberg 20004e2435 drbd: bump current uuid when resuming IO with diskless peer
Scenario, starting with normal operation
 Connected Primary/Secondary UpToDate/UpToDate
 NetworkFailure Primary/Unknown UpToDate/DUnknown (frozen)
 ... more failures happen, secondary loses it's disk,
 but eventually is able to re-establish the replication link ...
 Connected Primary/Secondary UpToDate/Diskless (resumed; needs to bump uuid!)

We used to just resume/resent suspended requests,
without bumping the UUID.

Which will lead to problems later, when we want to re-attach the disk on
the peer, without first disconnecting, or if we experience additional
failures, because we now have diverging data without being able to
recognize it.

Make sure we also bump the current data generation UUID,
if we notice "peer disk unknown" -> "peer disk known bad".

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-06-13 21:43:07 -06:00
..
aoe
drbd drbd: bump current uuid when resuming IO with diskless peer 2016-06-13 21:43:07 -06:00
mtip32xx drivers: use req op accessor 2016-06-07 13:41:38 -06:00
paride
rsxx block, fs, mm, drivers: use bio set/get op accessors 2016-06-07 13:41:38 -06:00
xen-blkback block: add a separate operation type for secure erase 2016-06-09 09:52:25 -06:00
zram block, fs, mm, drivers: use bio set/get op accessors 2016-06-07 13:41:38 -06:00
DAC960.c
DAC960.h
Kconfig
Makefile
amiflop.c
ataflop.c
brd.c block, fs, mm, drivers: use bio set/get op accessors 2016-06-07 13:41:38 -06:00
cciss.c
cciss.h
cciss_cmd.h
cciss_scsi.c
cciss_scsi.h
cryptoloop.c
floppy.c block, fs, mm, drivers: use bio set/get op accessors 2016-06-07 13:41:38 -06:00
hd.c
loop.c block, drivers: add REQ_OP_FLUSH operation 2016-06-07 13:41:38 -06:00
loop.h
mg_disk.c mg_disk: fix enum REQ_OP_ kbuild error 2016-06-08 15:01:16 -06:00
nbd.c block, drivers: add REQ_OP_FLUSH operation 2016-06-07 13:41:38 -06:00
null_blk.c
osdblk.c block, drivers: add REQ_OP_FLUSH operation 2016-06-07 13:41:38 -06:00
pktcdvd.c block, fs, mm, drivers: use bio set/get op accessors 2016-06-07 13:41:38 -06:00
ps3disk.c block, drivers: add REQ_OP_FLUSH operation 2016-06-07 13:41:38 -06:00
ps3vram.c
rbd.c drivers: use req op accessor 2016-06-07 13:41:38 -06:00
rbd_types.h
skd_main.c block, drivers: add REQ_OP_FLUSH operation 2016-06-07 13:41:38 -06:00
skd_s1120.h
smart1,2.h
sunvdc.c
swim.c
swim3.c
swim_asm.S
sx8.c
umem.c block, drivers, cgroup: use op_is_write helper instead of checking for REQ_WRITE 2016-06-07 13:41:38 -06:00
umem.h
virtio_blk.c block, drivers: add REQ_OP_FLUSH operation 2016-06-07 13:41:38 -06:00
xen-blkfront.c block: add a separate operation type for secure erase 2016-06-09 09:52:25 -06:00
xsysace.c
z2ram.c