struct lustre_capa *capa)
{
struct obd_device *obd = exp->exp_obd;
- struct filter_obd *fo = &obd->u.filter;
struct timeval start, end;
struct lvfs_run_ctxt saved;
struct niobuf_local *lnb;
}
}
- if (inode && (fo->fo_read_cache == 0 ||
- i_size_read(inode) > fo->fo_readcache_max_filesize))
- filter_invalidate_cache(obd, obj, nb, inode);
-
if (rc != 0) {
if (dentry != NULL)
f_dput(dentry);
int npages, struct niobuf_local *res,
struct obd_trans_info *oti, int rc)
{
+ struct filter_obd *fo = &exp->exp_obd->u.filter;
struct inode *inode = NULL;
struct ldlm_res_id res_id;
struct ldlm_resource *resource = NULL;
}
}
+ if (inode && (fo->fo_read_cache == 0 ||
+ i_size_read(inode) > fo->fo_readcache_max_filesize))
+ filter_invalidate_cache(exp->exp_obd, obj, rnb, inode);
+
if (res->dentry != NULL)
f_dput(res->dentry);
RETURN(rc);