Skip to content

Commit

Permalink
drbd: Nothing should stop SyncSource -> Ahead transitions
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
  • Loading branch information
Philipp Reisner committed Mar 10, 2011
1 parent 4a23f26 commit 71c78cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/drbd/drbd_req.c
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ static int drbd_make_request_common(struct drbd_conf *mdev, struct bio *bio, uns
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
Expand Down

0 comments on commit 71c78cf

Please sign in to comment.