mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
Fixed a regression in resync decission code drbd_uuid_compare() [Bugz 260]
Since 8.3.3 we fail to do the resync when a partial resynch is not possible, but a full synch is necessary. This regression was introduced with 7101539930c0a89146959e7a39c09ad9c3516434 Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
This commit is contained in:
parent
0b33a9164a
commit
d8c2a36b77
1 changed files with 1 additions and 0 deletions
|
@ -2400,6 +2400,7 @@ static int drbd_uuid_compare(struct drbd_conf *mdev, int *rule_nr) __must_hold(l
|
||||||
|
|
||||||
|
|
||||||
*rule_nr = 80;
|
*rule_nr = 80;
|
||||||
|
peer = mdev->p_uuid[UI_CURRENT] & ~((u64)1);
|
||||||
for (i = UI_HISTORY_START; i <= UI_HISTORY_END; i++) {
|
for (i = UI_HISTORY_START; i <= UI_HISTORY_END; i++) {
|
||||||
self = mdev->ldev->md.uuid[i] & ~((u64)1);
|
self = mdev->ldev->md.uuid[i] & ~((u64)1);
|
||||||
if (self == peer)
|
if (self == peer)
|
||||||
|
|
Loading…
Reference in a new issue