diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2010-11-05 05:05:47 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 05:19:03 -0500 |
commit | 2649f0809f55e4df98c333a2b85c6fc8fee04804 (patch) | |
tree | b275b9af4122fe84965d754b27615c71c8a13a60 /drivers/block/drbd/drbd_main.c | |
parent | e65f440d474d7d6a6fd8a2c844e851d8c96ed9c5 (diff) |
drbd: use the resync controller for online-verify requests as well
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_main.c')
-rw-r--r-- | drivers/block/drbd/drbd_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c index a1a2cb1eadf1..6afb81f807bd 100644 --- a/drivers/block/drbd/drbd_main.c +++ b/drivers/block/drbd/drbd_main.c | |||
@@ -1126,6 +1126,8 @@ int __drbd_set_state(struct drbd_conf *mdev, | |||
1126 | mdev->rs_mark_time[i] = now; | 1126 | mdev->rs_mark_time[i] = now; |
1127 | } | 1127 | } |
1128 | 1128 | ||
1129 | drbd_rs_controller_reset(mdev); | ||
1130 | |||
1129 | if (ns.conn == C_VERIFY_S) { | 1131 | if (ns.conn == C_VERIFY_S) { |
1130 | dev_info(DEV, "Starting Online Verify from sector %llu\n", | 1132 | dev_info(DEV, "Starting Online Verify from sector %llu\n", |
1131 | (unsigned long long)mdev->ov_position); | 1133 | (unsigned long long)mdev->ov_position); |