diff options
author | Jose R. Santos <jrs@us.ibm.com> | 2007-10-16 18:38:25 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2007-10-17 18:50:01 -0400 |
commit | ce421581794f6593830b056969ad7536ab929b2f (patch) | |
tree | f1b225ae41dbd64f9e6e931ee5454842c6b272ba /include/linux/ext4_fs.h | |
parent | c1bddad9491b3941f7ae27eeee1e4f4822fb3169 (diff) |
ext4: FLEX_BG Kernel support v2.
This feature relaxes check restrictions on where each block groups meta
data is located within the storage media. This allows for the allocation
of bitmaps or inode tables outside the block group boundaries in cases
where bad blocks forces us to look for new blocks which the owning block
group can not satisfy. This will also allow for new meta-data allocation
schemes to improve performance and scalability.
Signed-off-by: Jose R. Santos <jrs@us.ibm.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/ext4_fs.h')
-rw-r--r-- | include/linux/ext4_fs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/ext4_fs.h b/include/linux/ext4_fs.h index 722d4ef12bf3..46b304d18345 100644 --- a/include/linux/ext4_fs.h +++ b/include/linux/ext4_fs.h | |||
@@ -682,13 +682,15 @@ static inline int ext4_valid_inum(struct super_block *sb, unsigned long ino) | |||
682 | #define EXT4_FEATURE_INCOMPAT_META_BG 0x0010 | 682 | #define EXT4_FEATURE_INCOMPAT_META_BG 0x0010 |
683 | #define EXT4_FEATURE_INCOMPAT_EXTENTS 0x0040 /* extents support */ | 683 | #define EXT4_FEATURE_INCOMPAT_EXTENTS 0x0040 /* extents support */ |
684 | #define EXT4_FEATURE_INCOMPAT_64BIT 0x0080 | 684 | #define EXT4_FEATURE_INCOMPAT_64BIT 0x0080 |
685 | #define EXT4_FEATURE_INCOMPAT_FLEX_BG 0x0200 | ||
685 | 686 | ||
686 | #define EXT4_FEATURE_COMPAT_SUPP EXT2_FEATURE_COMPAT_EXT_ATTR | 687 | #define EXT4_FEATURE_COMPAT_SUPP EXT2_FEATURE_COMPAT_EXT_ATTR |
687 | #define EXT4_FEATURE_INCOMPAT_SUPP (EXT4_FEATURE_INCOMPAT_FILETYPE| \ | 688 | #define EXT4_FEATURE_INCOMPAT_SUPP (EXT4_FEATURE_INCOMPAT_FILETYPE| \ |
688 | EXT4_FEATURE_INCOMPAT_RECOVER| \ | 689 | EXT4_FEATURE_INCOMPAT_RECOVER| \ |
689 | EXT4_FEATURE_INCOMPAT_META_BG| \ | 690 | EXT4_FEATURE_INCOMPAT_META_BG| \ |
690 | EXT4_FEATURE_INCOMPAT_EXTENTS| \ | 691 | EXT4_FEATURE_INCOMPAT_EXTENTS| \ |
691 | EXT4_FEATURE_INCOMPAT_64BIT) | 692 | EXT4_FEATURE_INCOMPAT_64BIT| \ |
693 | EXT4_FEATURE_INCOMPAT_FLEX_BG) | ||
692 | #define EXT4_FEATURE_RO_COMPAT_SUPP (EXT4_FEATURE_RO_COMPAT_SPARSE_SUPER| \ | 694 | #define EXT4_FEATURE_RO_COMPAT_SUPP (EXT4_FEATURE_RO_COMPAT_SPARSE_SUPER| \ |
693 | EXT4_FEATURE_RO_COMPAT_LARGE_FILE| \ | 695 | EXT4_FEATURE_RO_COMPAT_LARGE_FILE| \ |
694 | EXT4_FEATURE_RO_COMPAT_GDT_CSUM| \ | 696 | EXT4_FEATURE_RO_COMPAT_GDT_CSUM| \ |