Commit b79f96e7 authored by Lars Ellenberg's avatar Lars Ellenberg Committed by Philipp Reisner

report comm_bm_set instead of total_weight

reporting comm_bm_set is more useful,
it is used in the uuid_compare and after_sb comparisons.
Signed-off-by: default avatarPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: default avatarLars Ellenberg <lars.ellenberg@linbit.com>
parent aafb2dd0
......@@ -2381,8 +2381,7 @@ static enum drbd_conns drbd_sync_handshake(struct drbd_conf *mdev, enum drbd_rol
hg = drbd_uuid_compare(mdev, &rule_nr);
dev_info(DEV, "drbd_sync_handshake:\n");
drbd_uuid_dump(mdev, "self", mdev->ldev->md.uuid,
mdev->state.disk >= D_NEGOTIATING ? drbd_bm_total_weight(mdev) : 0, 0);
drbd_uuid_dump(mdev, "self", mdev->ldev->md.uuid, mdev->comm_bm_set, 0);
drbd_uuid_dump(mdev, "peer", mdev->p_uuid,
mdev->p_uuid[UI_SIZE], mdev->p_uuid[UI_FLAGS]);
dev_info(DEV, "uuid_compare()=%d by rule %d\n", hg, rule_nr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment