]> err.no Git - linux-2.6/blobdiff - include/linux/ext4_fs_sb.h
Pull style into test branch
[linux-2.6] / include / linux / ext4_fs_sb.h
index ce4856d7010064acac77f5d09fdefa138f7bcfc4..691a713139ceea2b9457d16ab86286f2d1a972fe 100644 (file)
@@ -29,6 +29,7 @@
  */
 struct ext4_sb_info {
        unsigned long s_frag_size;      /* Size of a fragment in bytes */
+       unsigned long s_desc_size;      /* Size of a group descriptor in bytes */
        unsigned long s_frags_per_block;/* Number of fragments per block */
        unsigned long s_inodes_per_block;/* Number of inodes per block */
        unsigned long s_frags_per_group;/* Number of fragments in a group */
@@ -78,6 +79,16 @@ struct ext4_sb_info {
        char *s_qf_names[MAXQUOTAS];            /* Names of quota files with journalled quota */
        int s_jquota_fmt;                       /* Format of quota to use */
 #endif
+
+#ifdef EXTENTS_STATS
+       /* ext4 extents stats */
+       unsigned long s_ext_min;
+       unsigned long s_ext_max;
+       unsigned long s_depth_max;
+       spinlock_t s_ext_stats_lock;
+       unsigned long s_ext_blocks;
+       unsigned long s_ext_extents;
+#endif
 };
 
 #endif /* _LINUX_EXT4_FS_SB */