]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ext4: add support for online resizing with bigalloc
authorharshads <harshads@google.com>
Sun, 29 Oct 2017 13:38:46 +0000 (09:38 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 29 Oct 2017 13:38:46 +0000 (09:38 -0400)
commitd77147ff443b255d82c907a632c825b2cc610b10
tree4ebdc728e2e8bf8d25f6b74f95120da8f2392f8d
parentd98bf8cd11985256b96d610453baf1ff8814ff87
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>
fs/ext4/ext4.h
fs/ext4/ioctl.c
fs/ext4/mballoc.c
fs/ext4/resize.c