Possible fix for file size mismatch between mds and osts.
struct ptlrpc_request *req, struct mds_body *body)
{
struct inode *inode = dentry->d_inode;
+ struct mds_obd *mds = &obd->u.mds;
ENTRY;
LASSERT(body != NULL);
RETURN(0);
}
+ if (mds->mds_config_generation)
+ return 0;
+
if (atomic_read(&inode->i_writecount)) {
/* some one has opened the file for write.
* mds doesn't know actual size */
sprintf(name, "%s-%d", profile, version);
}
CWARN("Applying configuration log %s\n", name);
+ mds->mds_config_generation++;
push_ctxt(&saved, &obd->obd_lvfs_ctxt, NULL);
ctxt = llog_get_context(&obd->obd_llogs, LLOG_CONFIG_ORIG_CTXT);