summaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_req.h
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2016-06-14 01:26:34 +0300
committerJens Axboe <axboe@fb.com>2016-06-14 06:43:07 +0300
commit20004e24356ff62b8e8141a129d2e1d50a2813b7 (patch)
treef300ec2d258f5d75d85d837da093b526e2c9739e /drivers/block/drbd/drbd_req.h
parent31d646042d0f6b125cc48a4375e90d9adfb337ba (diff)
downloadlinux-20004e24356ff62b8e8141a129d2e1d50a2813b7.tar.xz
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>
Diffstat (limited to 'drivers/block/drbd/drbd_req.h')
0 files changed, 0 insertions, 0 deletions