Whamcloud - gitweb
LU-3285 mdt: use generic grant code at MDT
[fs/lustre-release.git] / lustre / mdt / mdt_internal.h
index f81cfa1..522e03d 100644 (file)
@@ -221,6 +221,9 @@ struct mdt_device {
 
        int                        mdt_max_ea_size;
 
+       /* preferred BRW size, decided by storage type and capability */
+       __u32                      mdt_brw_size;
+
         struct upcall_cache        *mdt_identity_cache;
 
        unsigned int               mdt_capa_conf:1,
@@ -233,10 +236,6 @@ struct mdt_device {
        /* lock for osfs and md_root */
        spinlock_t                 mdt_lock;
 
-       /* statfs optimization: we cache a bit  */
-       struct obd_statfs          mdt_osfs;
-       __u64                      mdt_osfs_age;
-
         /* root squash */
        struct root_squash_info    mdt_squash;