提交 71c78cfb 编写于 作者: P Philipp Reisner

drbd: Nothing should stop SyncSource -> Ahead transitions

Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
上级 4a23f264
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册