dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Philipp Reisner 2011-01-21 14:13:22 +01:00
parent 873b0d5f98
commit 039312b648
1 changed files with 1 additions and 7 deletions

View File

@ -983,13 +983,7 @@ allocate_barrier:
}
if (congested) {
/* rs_pending_cnt must be zero, otherwise the two peers
might get different bitmaps. With sane configurations
the resync stalls long before we might want to go into
AHEAD mode.
We could force the resync into PAUSE mode here if
rs_pending_cnt is > 0 ... */
queue_barrier(mdev);
queue_barrier(mdev); /* last barrier, after mirrored writes */
if (mdev->net_conf->on_congestion == OC_PULL_AHEAD)
_drbd_set_state(_NS(mdev, conn, C_AHEAD), 0, NULL);