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:
34746c1
)
- locks and dentries should be released in the case request is being handled by wrong MDS
author
yury
<yury>
Fri, 25 Feb 2005 19:45:18 +0000
(19:45 +0000)
committer
yury
<yury>
Fri, 25 Feb 2005 19:45:18 +0000
(19:45 +0000)
and should be restared with correct one in mds_getattr_lock().
lustre/mds/handler.c
patch
|
blob
|
history
diff --git
a/lustre/mds/handler.c
b/lustre/mds/handler.c
index
bf83cd8
..
f7dcd86
100644
(file)
--- a/
lustre/mds/handler.c
+++ b/
lustre/mds/handler.c
@@
-1040,7
+1040,9
@@
static int mds_getattr_lock(struct ptlrpc_request *req, int offset,
if (rc)
GOTO(cleanup, rc);
if (rc)
GOTO(cleanup, rc);
- /*
+ cleanup_phase = 2; /* dchild, dparent, locks */
+
+ /*
* let's make sure this name should leave on this mds
* node.
*/
* let's make sure this name should leave on this mds
* node.
*/