#define OSD_COUNTERS (0)
+#ifdef HAVE_QUOTA_SUPPORT
+struct osd_ctxt {
+ __u32 oc_uid;
+ __u32 oc_gid;
+ __u32 oc_cap;
+};
+#endif
+
/*
* osd device.
*/
__u32 od_capa_alg;
struct lustre_capa_key *od_capa_keys;
struct hlist_head *od_capa_hash;
-
+
cfs_proc_dir_entry_t *od_proc_entry;
struct lprocfs_stats *od_stats;
/*
struct dentry oti_dentry;
struct timespec oti_time;
/*
+ * XXX temporary: fake struct file for osd_object_sync
+ */
+ struct file oti_file;
+ /*
* XXX temporary: for capa operations.
*/
struct lustre_capa_key oti_capa_key;
char oti_ipd[DX_IPD_MAX_SIZE];
long long oti_alignment_lieutenant;
};
-#if OSD_COUNTERS
int oti_r_locks;
int oti_w_locks;
int oti_txns;
+#ifdef HAVE_QUOTA_SUPPORT
+ struct osd_ctxt oti_ctxt;
#endif
};