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:
a44ad76
)
b=19405
author
vs
<vs>
Wed, 13 May 2009 17:00:11 +0000
(17:00 +0000)
committer
vs
<vs>
Wed, 13 May 2009 17:00:11 +0000
(17:00 +0000)
i=ericm
i=rread
do not flag a request as rq_replay for non replayable imports
lustre/mdc/mdc_locks.c
patch
|
blob
|
history
diff --git
a/lustre/mdc/mdc_locks.c
b/lustre/mdc/mdc_locks.c
index
2f22f1a
..
cd7792e
100644
(file)
--- a/
lustre/mdc/mdc_locks.c
+++ b/
lustre/mdc/mdc_locks.c
@@
-310,7
+310,7
@@
static struct ptlrpc_request *mdc_intent_open_pack(struct obd_export *exp,
}
spin_lock(&req->rq_lock);
- req->rq_replay =
1
;
+ req->rq_replay =
req->rq_import->imp_replayable
;
spin_unlock(&req->rq_lock);
/* pack the intent */