aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ext4_fs_sb.h
diff options
context:
space:
mode:
authorAlex Tomas <alex@clusterfs.com>2006-10-11 04:21:03 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-11 14:14:16 -0400
commita86c61812637c7dd0c57e29880cffd477b62f2e7 (patch)
tree10737307293afde2999a887cfeac32c7d7584aa7 /include/linux/ext4_fs_sb.h
parentc3fcc8137ce4296ad6ab94f88bd60cbe03d21527 (diff)
[PATCH] ext3: add extent map support
On disk extents format: /* * this is extent on-disk structure * it's used at the bottom of the tree */ struct ext3_extent { __le32 ee_block; /* first logical block extent covers */ __le16 ee_len; /* number of blocks covered by extent */ __le16 ee_start_hi; /* high 16 bits of physical block */ __le32 ee_start; /* low 32 bigs of physical block */ }; Signed-off-by: Alex Tomas <alex@clusterfs.com> Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/ext4_fs_sb.h')
-rw-r--r--include/linux/ext4_fs_sb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/ext4_fs_sb.h b/include/linux/ext4_fs_sb.h
index ce4856d70100..ce7a844d6703 100644
--- a/include/linux/ext4_fs_sb.h
+++ b/include/linux/ext4_fs_sb.h
@@ -78,6 +78,16 @@ struct ext4_sb_info {
78 char *s_qf_names[MAXQUOTAS]; /* Names of quota files with journalled quota */ 78 char *s_qf_names[MAXQUOTAS]; /* Names of quota files with journalled quota */
79 int s_jquota_fmt; /* Format of quota to use */ 79 int s_jquota_fmt; /* Format of quota to use */
80#endif 80#endif
81
82#ifdef EXTENTS_STATS
83 /* ext4 extents stats */
84 unsigned long s_ext_min;
85 unsigned long s_ext_max;
86 unsigned long s_depth_max;
87 spinlock_t s_ext_stats_lock;
88 unsigned long s_ext_blocks;
89 unsigned long s_ext_extents;
90#endif
81}; 91};
82 92
83#endif /* _LINUX_EXT4_FS_SB */ 93#endif /* _LINUX_EXT4_FS_SB */