Skip to content

e2fsprogs: fix off-line resizing of small ext4 file systems

Theodore Ts'o linux-ext4 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4resize2fs: fix off-line resize of file systems with flex_bg && !resize_inoderesize/resize2fs.c+45 -130 replies
2/4mke2fs: don't display bigalloc/quota fs feature warnings in quiet modemisc/mke2fs.c+4 -20 replies
3/4tests: create crcsum progam to support resizing teststests/progs/Makefile.in tests/progs/crcsum.c tests/test_config+76 -10 replies
4/4tests: add more tests for off-line resizingtests/r_1024_small_bg/script tests/r_64bit_big_expand/script tests/r_bigalloc_big_expand/script +3 more+274 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] e2fsprogs: fix off-line resizing of small ext4 file systems

This fixes the reported failure when resizing an ext4 file system which started out a as a very small file system, which is then resizied to a very big file system. I've also added 5 more resize2fs tests to the e2fsprogs regression test suite.

Theodore Ts'o (4):
resize2fs: fix off-line resize of file systems with flex_bg &&
!resize_inode
mke2fs: don't display bigalloc/quota fs feature warnings in quiet
mode
tests: create crcsum progam to support resizing tests
tests: add more tests for off-line resizing

 misc/mke2fs.c                      |   6 +-
 resize/resize2fs.c                 |  58 ++++++++++++----
 tests/progs/Makefile.in            |   6 +-
 tests/progs/crcsum.c               |  70 +++++++++++++++++++
 tests/r_1024_small_bg/script       |  27 +++++++
 tests/r_64bit_big_expand/script    |  27 +++++++
 tests/r_bigalloc_big_expand/script |  27 +++++++
 tests/r_ext4_big_expand/script     |  27 +++++++
 tests/r_ext4_small_bg/script       |  27 +++++++
 tests/scripts/resize_test          | 139 +++++++++++++++++++++++++++++++++++++
 tests/test_config                  |   1 +
 11 files changed, 399 insertions(+), 16 deletions(-)
 create mode 100644 tests/progs/crcsum.c
 create mode 100644 tests/r_1024_small_bg/script
 create mode 100644 tests/r_64bit_big_expand/script
 create mode 100644 tests/r_bigalloc_big_expand/script
 create mode 100644 tests/r_ext4_big_expand/script
 create mode 100644 tests/r_ext4_small_bg/script
 create mode 100755 tests/scripts/resize_test
Signature · 1 line
1.7.12.rc0.22.gcdd159b