aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_proc.c
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2010-11-05 05:05:47 -0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-03-10 05:19:03 -0500
commit2649f0809f55e4df98c333a2b85c6fc8fee04804 (patch)
treeb275b9af4122fe84965d754b27615c71c8a13a60 /drivers/block/drbd/drbd_proc.c
parente65f440d474d7d6a6fd8a2c844e851d8c96ed9c5 (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_proc.c')
-rw-r--r--drivers/block/drbd/drbd_proc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_proc.c b/drivers/block/drbd/drbd_proc.c
index 0ec6f4b6a4a8..fab3fde3477b 100644
--- a/drivers/block/drbd/drbd_proc.c
+++ b/drivers/block/drbd/drbd_proc.c
@@ -154,7 +154,8 @@ static void drbd_syncer_progress(struct drbd_conf *mdev, struct seq_file *seq)
154 seq_printf_with_thousands_grouping(seq, dbdt); 154 seq_printf_with_thousands_grouping(seq, dbdt);
155 seq_printf(seq, ")"); 155 seq_printf(seq, ")");
156 156
157 if (mdev->state.conn == C_SYNC_TARGET) { 157 if (mdev->state.conn == C_SYNC_TARGET ||
158 mdev->state.conn == C_VERIFY_S) {
158 if (mdev->c_sync_rate > 1000) 159 if (mdev->c_sync_rate > 1000)
159 seq_printf(seq, " want: %d,%03d", 160 seq_printf(seq, " want: %d,%03d",
160 mdev->c_sync_rate / 1000, mdev->c_sync_rate % 1000); 161 mdev->c_sync_rate / 1000, mdev->c_sync_rate % 1000);