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>
This commit is contained in:
parent
4a23f26496
commit
71c78cfba2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue