Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242907
b: refs/heads/master
c: 039312b
h: refs/heads/master
i:
  242905: d194ba5
  242903: a126b35
v: v3
  • Loading branch information
Philipp Reisner committed Mar 10, 2011
1 parent 368023e commit fb20953
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 873b0d5f98ab70e4df7a62b2ef0305373f88f330
refs/heads/master: 039312b6481e2928f3be19fee94c83327d93e4c7
8 changes: 1 addition & 7 deletions trunk/drivers/block/drbd/drbd_req.c
Original file line number Diff line number Diff line change
Expand Up @@ -983,13 +983,7 @@ static int drbd_make_request_common(struct drbd_conf *mdev, struct bio *bio, uns
}

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
AHEAD mode.
We could force the resync into PAUSE mode here if
rs_pending_cnt is > 0 ... */
queue_barrier(mdev);
queue_barrier(mdev); /* last barrier, after mirrored writes */

if (mdev->net_conf->on_congestion == OC_PULL_AHEAD)
_drbd_set_state(_NS(mdev, conn, C_AHEAD), 0, NULL);
Expand Down

0 comments on commit fb20953

Please sign in to comment.