summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorharshads <harshads@google.com>2017-10-29 14:38:46 +0100
committerTheodore Ts'o <tytso@mit.edu>2017-10-29 14:38:46 +0100
commitd77147ff443b255d82c907a632c825b2cc610b10 (patch)
tree4ebdc728e2e8bf8d25f6b74f95120da8f2392f8d /fs/ext4/ext4.h
parentext4: mention noload when recovering on read-only device (diff)
downloadlinux-d77147ff443b255d82c907a632c825b2cc610b10.tar.xz
linux-d77147ff443b255d82c907a632c825b2cc610b10.zip
ext4: add support for online resizing with bigalloc
This patch adds support for online resizing on bigalloc file system by implementing EXT4_IOC_RESIZE_FS ioctl. Old resize interfaces (add block groups and extend last block group) are left untouched. Tests performed with cluster sizes of 1, 2, 4 and 8 blocks (of size 4k) per cluster. I will add these tests to xfstests. Signed-off-by: Harshad Shirwadkar <harshads@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 16bf888b187e..53ce95b52fd8 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -545,8 +545,8 @@ struct ext4_new_group_data {
__u64 inode_table;
__u32 blocks_count;
__u16 reserved_blocks;
- __u16 unused;
- __u32 free_blocks_count;
+ __u16 mdata_blocks;
+ __u32 free_clusters_count;
};
/* Indexes used to index group tables in ext4_new_group_data */