diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-01-21 08:13:22 -0500 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 05:48:09 -0500 |
commit | 039312b6481e2928f3be19fee94c83327d93e4c7 (patch) | |
tree | cfdbc96255867ecfdeb1529d38dad37f9a1a1178 /drivers/block/drbd | |
parent | 873b0d5f98ab70e4df7a62b2ef0305373f88f330 (diff) |
drbd: Removed left over, now wrong comments
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd')
-rw-r--r-- | drivers/block/drbd/drbd_req.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/block/drbd/drbd_req.c b/drivers/block/drbd/drbd_req.c index c28be4e5e57c..94fd5a2be559 100644 --- a/drivers/block/drbd/drbd_req.c +++ b/drivers/block/drbd/drbd_req.c | |||
@@ -983,13 +983,7 @@ allocate_barrier: | |||
983 | } | 983 | } |
984 | 984 | ||
985 | if (congested) { | 985 | if (congested) { |
986 | /* rs_pending_cnt must be zero, otherwise the two peers | 986 | queue_barrier(mdev); /* last barrier, after mirrored writes */ |
987 | might get different bitmaps. With sane configurations | ||
988 | the resync stalls long before we might want to go into | ||
989 | AHEAD mode. | ||
990 | We could force the resync into PAUSE mode here if | ||
991 | rs_pending_cnt is > 0 ... */ | ||
992 | queue_barrier(mdev); | ||
993 | 987 | ||
994 | if (mdev->net_conf->on_congestion == OC_PULL_AHEAD) | 988 | if (mdev->net_conf->on_congestion == OC_PULL_AHEAD) |
995 | _drbd_set_state(_NS(mdev, conn, C_AHEAD), 0, NULL); | 989 | _drbd_set_state(_NS(mdev, conn, C_AHEAD), 0, NULL); |