diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-01-14 13:20:34 -0500 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 05:45:34 -0500 |
commit | 71c78cfba232de8f61a4b1bbb6e876424d133407 (patch) | |
tree | 2875a4f478f328d57a148dcd01b9563053447fd2 /drivers/block | |
parent | 4a23f2649698272abcd9e0c9a992d65739f32792 (diff) |
drbd: Nothing should stop SyncSource -> Ahead transitions
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/drbd/drbd_req.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_req.c b/drivers/block/drbd/drbd_req.c index a3f6b04ebaba..6f9d1bfcca58 100644 --- a/drivers/block/drbd/drbd_req.c +++ b/drivers/block/drbd/drbd_req.c | |||
@@ -1002,7 +1002,7 @@ allocate_barrier: | |||
1002 | congested = 1; | 1002 | congested = 1; |
1003 | } | 1003 | } |
1004 | 1004 | ||
1005 | if (congested && atomic_read(&mdev->rs_pending_cnt) == 0) { | 1005 | if (congested) { |
1006 | /* rs_pending_cnt must be zero, otherwise the two peers | 1006 | /* rs_pending_cnt must be zero, otherwise the two peers |
1007 | might get different bitmaps. With sane configurations | 1007 | might get different bitmaps. With sane configurations |
1008 | the resync stalls long before we might want to go into | 1008 | the resync stalls long before we might want to go into |