Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48aba8c
)
Branch HEAD
author
yangsheng
<yangsheng>
Tue, 14 Oct 2008 05:24:11 +0000
(
05:24
+0000)
committer
yangsheng
<yangsheng>
Tue, 14 Oct 2008 05:24:11 +0000
(
05:24
+0000)
b=17335
i=nathan, yangsheng
Author: johann
Don't set cld_lostlock in mgc_requeue_add() if RQ_STOP.
lustre/mgc/mgc_request.c
patch
|
blob
|
history
diff --git
a/lustre/mgc/mgc_request.c
b/lustre/mgc/mgc_request.c
index
e385931
..
9985007
100644
(file)
--- a/
lustre/mgc/mgc_request.c
+++ b/
lustre/mgc/mgc_request.c
@@
-337,7
+337,6
@@
static int mgc_requeue_add(struct config_llog_data *cld, int later)
/* Hold lock for rq_state */
spin_lock(&config_list_lock);
- cld->cld_lostlock = 1;
if (cld->cld_stopping || (rq_state & RQ_STOP)) {
spin_unlock(&config_list_lock);
@@
-345,6
+344,8
@@
static int mgc_requeue_add(struct config_llog_data *cld, int later)
RETURN(0);
}
+ cld->cld_lostlock = 1;
+
if (!(rq_state & RQ_RUNNING)) {
LASSERT(rq_state == 0);
rq_state = RQ_RUNNING | (later ? RQ_LATER : RQ_NOW);