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:
c80a756
)
don't send revalidate rpc if client have LOOKUP lock already.
author
shadow
<shadow>
Wed, 5 Aug 2009 07:22:58 +0000
(07:22 +0000)
committer
shadow
<shadow>
Wed, 5 Aug 2009 07:22:58 +0000
(07:22 +0000)
Branch HEAD
b=17545
i=green
i=panda
lustre/llite/dcache.c
patch
|
blob
|
history
diff --git
a/lustre/llite/dcache.c
b/lustre/llite/dcache.c
index
d685990
..
1a4a33f
100644
(file)
--- a/
lustre/llite/dcache.c
+++ b/
lustre/llite/dcache.c
@@
-387,6
+387,9
@@
int ll_revalidate_it(struct dentry *de, int lookup_flags,
GOTO(out_sa, rc);
}
+ if ((de->d_flags & DCACHE_LUSTRE_INVALID) == 0)
+ GOTO(out_sa, rc = 1);
+
/* Never execute intents for mount points.
* Attributes will be fixed up in ll_inode_revalidate_it */
if (d_mountpoint(de))