Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311595
b: refs/heads/master
c: 1ed25b2
h: refs/heads/master
i:
  311593: 504f982
  311591: f6ca212
v: v3
  • Loading branch information
Lars Ellenberg authored and Philipp Reisner committed Jun 12, 2012
1 parent 197766f commit 9c8bbfb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 4eccc579795290a58e2262fa4e9d083d7672e699
refs/heads/master: 1ed25b269e3dd5ecc64f17beef9ea21745c39ca6
7 changes: 6 additions & 1 deletion trunk/drivers/block/drbd/drbd_req.c
Original file line number Diff line number Diff line change
Expand Up @@ -472,12 +472,17 @@ int __req_mod(struct drbd_request *req, enum drbd_req_event what,
req->rq_state |= RQ_LOCAL_COMPLETED;
req->rq_state &= ~RQ_LOCAL_PENDING;

D_ASSERT(!(req->rq_state & RQ_NET_MASK));
if (req->rq_state & RQ_LOCAL_ABORTED) {
_req_may_be_done(req, m);
break;
}

__drbd_chk_io_error(mdev, false);

goto_queue_for_net_read:

D_ASSERT(!(req->rq_state & RQ_NET_MASK));

/* no point in retrying if there is no good remote data,
* or we have no connection. */
if (mdev->state.pdsk != D_UP_TO_DATE) {
Expand Down

0 comments on commit 9c8bbfb

Please sign in to comment.