e2fsprogs: Resizing rewrite
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest21 patches 0 repliesNew
- v119 patches 18 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | ext2fs: Add pointer to allocator private data into ext2_filsyslib/ | +2 | 0 replies | |
| 2/21 | ext2fs: Implement ext2fs_allocate_group_table2()lib/ lib/ | +78 | 0 replies | |
| 3/21 | resize2fs: Use ext2fs_allocate_group_table2()resize/ | +4 | 0 replies | |
| 4/21 | ext2fs: Provide helper for wiping resize inodelib/ lib/ resize/ | +36 | 0 replies | |
| 5/21 | ext2fs: Implement block moving in libext2fslib/ lib/ lib/ +2 more | +1211 | 0 replies | |
| 6/21 | ext2fs: Implement inode moving in libext2fslib/ lib/ | +440 | 0 replies | |
| 7/21 | tune2fs: Implement setting and disabling of 64-bit featuremisc/ | +354 | 0 replies | |
| 8/21 | tests: Convert tests for 64bit feature to use tune2fstests/ tests/ tests/ +37 more | +1068 | 0 replies | |
| 9/21 | mke2fs: Allow specifying number of reserved inodesmisc/ misc/ | +45 | 0 replies | |
| 10/21 | ext2fs: Fixup inline directory testlib/ | +6 | 0 replies | |
| 11/21 | tests: Specify number of reserved inodes for tests where it matterstests/ tests/ tests/ +5 more | +10 | 0 replies | |
| 12/21 | libext2fs: Bump default number of reserved inodes to 64lib/ misc/ tests/ +56 more | +234 | 0 replies | |
| 13/21 | tune2fs: Add support for changing number of reserved inodesmisc/ misc/ | +115 | 0 replies | |
| 14/21 | mke2fs, tune2fs: Tests for handling reserved_inodes optiontests/ tests/ tests/ +8 more | +1247 | 0 replies | |
| 15/21 | resize2fs: Rip out 64-bit feature handling from resize2fsresize/ resize/ resize/ | +9 | 0 replies | |
| 16/21 | ext2fs: Remove old block mapping functionlib/ lib/ | +0 | 0 replies | |
| 17/21 | resize2fs: Remove duplicate conditionresize/ | +1 | 0 replies | |
| 18/21 | ext2fs: Add extent dumping function to extent mapping codelib/ | +17 | 0 replies | |
| 19/21 | resize2fs: Remove extent mapping coderesize/ resize/ resize/ | +3 | 0 replies | |
| 20/21 | ext2fs: Move extent mapping testlib/ lib/ lib/ +3 more | +203 | 0 replies | |
| 21/21 | resize2fs: Use libextfs2 helpers for resizingresize/ resize/ resize/ +2 more | +578 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH 00/21 v2] e2fsprogs: Resizing rewrite
Hello,
this patch series factors out large parts of resizing code into libext2fs. The motivation of this is that handling of enabling / disabling of more and more features requires moving blocks or inodes with rewriting all the references and using resize2fs for that is not logical from user interface POV.
The series is structured as follows.
* Patches 1-4 are various small cleanups and improvements.
* Patches 5-6 implement the main functionality. The functionality is implemented by two functions:
ext2fs_move_blocks() which gets filesystem and bitmap of blocks which it should make free and the function takes care of everything needed to make the blocks free.
ext2fs_move_inodes() which gets filesystem and bitmap of inodes which it should make free and the function takes care of everything needed to make these inodes free.
* Patches 7-8 implements enabling / disabling 64-bit feature in tune2fs where it is more logical and update tests to use tune2fs instead of resize2fs.
* Patches 9-14 add support for changing number of reserved inodes in e2fsprogs, update tests to reflect changed default number of reserved inodes and also add some basic testing of the new functionality.
* Patches 15-16 remove some now undeeded code
* Patches 17-21 change resize2fs itself to use code from libext2fs to perform resizing.
I have verified that all the tests in e2fsprogs now pass so things should be working reasonably but since this is basically a complete rewrite of the resizing code which is pretty complex, there may be bugs still lurking...
Honza