Skip to content
Snippets Groups Projects
Commit 91668535 authored by Niu Yawei's avatar Niu Yawei
Browse files

simple fix for inconsistent mtime on different client, commit to test if

it's helpful.
- b 7230
parent f4f1def3
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment