diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2010-05-04 05:12:00 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-05-17 19:25:00 -0400 |
commit | 67c7ddd055c794f0d8e9466ca2d6b5cc0b73d4df (patch) | |
tree | c68ceb828b3677a7d68eb7065790e8d957d973c1 /drivers/block | |
parent | 7237bc430f49de1145d761c4b39f2ebae58842d5 (diff) |
drbd: Four new configuration settings for resync speed control
To reasonably control resync speed over drbd-proxy connections,
drbd has to measure the current delay of packets transmitted over
the (possibly congested) data socket vs the meta-data socket.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/drbd/drbd_nl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_nl.c b/drivers/block/drbd/drbd_nl.c index 6cb703686b28..93d150661f4b 100644 --- a/drivers/block/drbd/drbd_nl.c +++ b/drivers/block/drbd/drbd_nl.c | |||
@@ -1555,6 +1555,10 @@ static int drbd_nl_syncer_conf(struct drbd_conf *mdev, struct drbd_nl_cfg_req *n | |||
1555 | sc.rate = DRBD_RATE_DEF; | 1555 | sc.rate = DRBD_RATE_DEF; |
1556 | sc.after = DRBD_AFTER_DEF; | 1556 | sc.after = DRBD_AFTER_DEF; |
1557 | sc.al_extents = DRBD_AL_EXTENTS_DEF; | 1557 | sc.al_extents = DRBD_AL_EXTENTS_DEF; |
1558 | sc.dp_volume = DRBD_DP_VOLUME_DEF; | ||
1559 | sc.dp_interval = DRBD_DP_INTERVAL_DEF; | ||
1560 | sc.throttle_th = DRBD_RS_THROTTLE_TH_DEF; | ||
1561 | sc.hold_off_th = DRBD_RS_HOLD_OFF_TH_DEF; | ||
1558 | } else | 1562 | } else |
1559 | memcpy(&sc, &mdev->sync_conf, sizeof(struct syncer_conf)); | 1563 | memcpy(&sc, &mdev->sync_conf, sizeof(struct syncer_conf)); |
1560 | 1564 | ||