summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_bitmap.c
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2014-03-27 10:34:13 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2014-07-10 18:35:05 +0200
commit2f2abeae3cd139fb3581249388bf2018612a87e5 (patch)
tree876f577c3153008b9833609d5e4c91b62a634048 /drivers/block/drbd/drbd_bitmap.c
parent506afb6248af577eb702c73f3da52a12f4c56a38 (diff)
downloadlinux-stable-2f2abeae3cd139fb3581249388bf2018612a87e5.tar.gz
linux-stable-2f2abeae3cd139fb3581249388bf2018612a87e5.tar.bz2
linux-stable-2f2abeae3cd139fb3581249388bf2018612a87e5.zip
drbd: clear CRASHED_PRIMARY only after successful resync
If we lost a disk during the first resync after primary crash, we could have prematurely cleared the CRASHED_PRIMARY flag. Testing on C_CONNECTED is not what we meant there, but testing for both peers to become D_UP_TO_DATE. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_bitmap.c')
0 files changed, 0 insertions, 0 deletions