]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drbd: Nothing should stop SyncSource -> Ahead transitions
authorPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 14 Jan 2011 18:20:34 +0000 (19:20 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:45:34 +0000 (11:45 +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 a3f6b04ebabadc6fa252ebcbe4904ac1ca8805ce..6f9d1bfcca58c176b8a25f171ba3a6a2ae24c1cd 100644 (file)
@@ -1002,7 +1002,7 @@ allocate_barrier:
                        congested = 1;
                }
 
-               if (congested && atomic_read(&mdev->rs_pending_cnt) == 0) {
+               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