summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2021-12-20 15:40:59 -0500
committerEryu Guan <guaneryu@gmail.com>2021-12-25 19:04:08 +0800
commit92b9c0dedace427e5b4d176113f13c83499855cd (patch)
treeefca07c230308a3343bdd2c41316df01a4fa271c /.gitignore
parent53628c36629b0b9c2905a3599220d3f9dbc5695f (diff)
ext4/033: test EXT4_IOC_RESIZE_FS by calling the ioctl directly
E2fsprogs commits 4ea80d031c7e ("resize2fs: adjust new size of the file system to allow a successful resize") and 50088b1996cc ("resize2fs: attempt to keep the # of inodes valid by removing the last bg") will automatically reduce the requested new size of the file system by up to a single block group to avoid overflowing the 32-bit inode count. This interferes with ext4/033's test of kernel commit 4f2f76f75143 ("ext4: Forbid overflowing inode count when # resizing".) Address this by creating a new test program, ext4_resize which calls the EXT4_IOC_RESIZE_FS ioctl directly so we can correctly test the kernel's online resize code. Reported-by: Eric Whitney <enwlinux@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 9e6d2fd5..65b93307 100644
--- a/.gitignore
+++ b/.gitignore
@@ -77,6 +77,7 @@ tags
/src/dirperf
/src/dirstress
/src/e4compact
+/src/ext4_resize
/src/fault
/src/feature
/src/fiemap-tester