Skip to content

e2fsprogs: allow meta_bg/64-bit file systems to be online resized

Theodore Ts'o linux-ext4 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 0 repliesNew
  2. v12 patches 16 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5resize2fs: enforce the 16TB limit on 32-bit file systems correctlyresize/main.c resize/resize2fs.h+23 -80 replies
2/5resize2fs: fix overhead calculation for meta_bg file systemsresize/resize2fs.c+45 -320 replies
3/5resize2fs: allow meta_bg/64-bit file systems to be online resizedresize/main.c+22 -190 replies
4/5resize2fs: enforce restrictions if the kernel doesn't do meta_bg resizingresize/online.c+28 -130 replies
5/5resize2fs: grow uninit_bg file systems more efficientlyresize/resize2fs.c+25 -30 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH 0/5 v2] e2fsprogs: allow meta_bg/64-bit file systems to be online resized

This patch series enhances resize2fs to allow it to support online
resizing of meta_bg and/or 64-bit file systems. This was mainly be
fixing the sanity checks which previously wouldn't allow the online resizing ioctl to be invoked since the userspace resize2fs program thought the kernel would not support file system parameters.

In addition, the last patch in this series significantly speeds up off-line resizing of ext4 file systems where the uninit_bg feature is enabled, by skipping the write out of the inode table.

Theodore Ts'o (5):
resize2fs: enforce the 16TB limit on 32-bit file systems correctly
resize2fs: fix overhead calculation for meta_bg file systems
resize2fs: allow meta_bg/64-bit file systems to be online resized
resize2fs: enforce restrictions if the kernel doesn't do meta_bg
resizing
resize2fs: grow uninit_bg file systems more efficiently

 resize/main.c      | 67 ++++++++++++++++++++++---------------
 resize/online.c    | 41 +++++++++++++++--------
 resize/resize2fs.c | 96 ++++++++++++++++++++++++++++++++++--------------------
 resize/resize2fs.h |  5 +++
 4 files changed, 134 insertions(+), 75 deletions(-)
Signature · 1 line
1.7.12.rc0.22.gcdd159b