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:
f4f1def
)
simple fix for inconsistent mtime on different client, commit to test if
author
niu
<niu>
Fri, 16 Sep 2005 18:41:24 +0000
(18:41 +0000)
committer
niu
<niu>
Fri, 16 Sep 2005 18:41:24 +0000
(18:41 +0000)
it's helpful.
- b 7230
lustre/llite/file.c
patch
|
blob
|
history
diff --git
a/lustre/llite/file.c
b/lustre/llite/file.c
index
94ba1db
..
f9a01b8
100644
(file)
--- a/
lustre/llite/file.c
+++ b/
lustre/llite/file.c
@@
-1931,6
+1931,9
@@
int ll_inode_revalidate_it(struct dentry *dentry)
if (!req && (oit.it_op & IT_GETATTR))
ll_audit_log(inode, AUDIT_STAT, 0);
*/
+
+ /* XXX temp fix for inconsistent mtime on different client */
+#if 0
if (!LLI_HAVE_FLSIZE(inode)) {
/* if object not yet allocated, don't validate size */
lsm = lli->lli_smd;
@@
-1940,6
+1943,10
@@
int ll_inode_revalidate_it(struct dentry *dentry)
rc = ll_glimpse_size(inode);
}
}
+#endif
+ if (lsm != NULL)
+ rc = ll_glimpse_size(inode);
+
EXIT;
out:
ll_intent_release(&oit);