commit | 2f2abeae3cd139fb3581249388bf2018612a87e5 | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Thu Mar 27 10:34:13 2014 +0100 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Thu Jul 10 18:35:05 2014 +0200 |
tree | 876f577c3153008b9833609d5e4c91b62a634048 | |
parent | 506afb6248af577eb702c73f3da52a12f4c56a38 [diff] |
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>