* statfs optimization: we cache a bit.
*/
cfs_time_t od_osfs_age;
- cfs_kstatfs_t od_kstatfs;
+ struct obd_statfs od_statfs;
cfs_spinlock_t od_osfs_lock;
/**
/** pre-allocated buffer used by oti_it_ea, size OSD_IT_EA_BUFSIZE */
void *oti_it_ea_buf;
+ cfs_kstatfs_t oti_ksfs;
+
/** IAM iterator for index operation. */
struct iam_iterator oti_idx_it;
#endif
int osd_statfs(const struct lu_env *env, struct dt_device *dev,
- cfs_kstatfs_t *sfs);
+ struct obd_statfs *sfs);
int osd_object_auth(const struct lu_env *env, struct dt_object *dt,
struct lustre_capa *capa, __u64 opc);
void osd_declare_qid(struct dt_object *dt, struct osd_thandle *oh,