Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

drbd: Nothing should stop SyncSource -> Ahead transitions

parent 4a23f264
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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