Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80611
b: refs/heads/master
c: aec64e1
h: refs/heads/master
i:
  80609: 7294bc3
  80607: e7277ed
v: v3
  • Loading branch information
David Teigland committed Jan 30, 2008
1 parent 4930a7a commit 45f7820
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: 601342ce022b964f756b67f2eb99b605c1afa3ed
refs/heads/master: aec64e1be2225c6fc64499594d23257c6adf6168
8 changes: 6 additions & 2 deletions trunk/fs/dlm/lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1940,8 +1940,11 @@ static void confirm_master(struct dlm_rsb *r, int error)
break;

case -EAGAIN:
/* the remote master didn't queue our NOQUEUE request;
make a waiting lkb the first_lkid */
case -EBADR:
case -ENOTBLK:
/* the remote request failed and won't be retried (it was
a NOQUEUE, or has been canceled/unlocked); make a waiting
lkb the first_lkid */

r->res_first_lkid = 0;

Expand Down Expand Up @@ -3382,6 +3385,7 @@ static void receive_request_reply(struct dlm_ls *ls, struct dlm_message *ms)
if (is_overlap(lkb)) {
/* we'll ignore error in cancel/unlock reply */
queue_cast_overlap(r, lkb);
confirm_master(r, result);
unhold_lkb(lkb); /* undoes create_lkb() */
} else
_request_lock(r, lkb);
Expand Down

0 comments on commit 45f7820

Please sign in to comment.