Commit 71c78cfb authored by Philipp Reisner's avatar Philipp Reisner

drbd: Nothing should stop SyncSource -> Ahead transitions

Signed-off-by: default avatarPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: default avatarLars Ellenberg <lars.ellenberg@linbit.com>
parent 4a23f264
...@@ -1002,7 +1002,7 @@ static int drbd_make_request_common(struct drbd_conf *mdev, struct bio *bio, uns ...@@ -1002,7 +1002,7 @@ static int drbd_make_request_common(struct drbd_conf *mdev, struct bio *bio, uns
congested = 1; congested = 1;
} }
if (congested && atomic_read(&mdev->rs_pending_cnt) == 0) { if (congested) {
/* rs_pending_cnt must be zero, otherwise the two peers /* rs_pending_cnt must be zero, otherwise the two peers
might get different bitmaps. With sane configurations might get different bitmaps. With sane configurations
the resync stalls long before we might want to go into the resync stalls long before we might want to go into
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment