]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drbd: Removed left over, now wrong comments
authorPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 21 Jan 2011 13:13:22 +0000 (14:13 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:48:09 +0000 (11:48 +0100)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_req.c

index c28be4e5e57c7248416b693c8224d28c7df3a753..94fd5a2be559c12e1aa6b4abd86ced0c9eda8da7 100644 (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);