ext4: bigalloc partial cluster handling fixes
Get series with b4
b4 am 20141121145247.GA30246@wallaceVersions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ext4: fix partial cluster initializationfs/ | +46 | 0 replies | |
| 2/4 | ext4: fix end of leaf partial cluster handlingfs/ | +9 | 0 replies | |
| 3/4 | ext4: miscellaneous partial cluster cleanupsfs/ | +21 | 0 replies | |
| 4/4 | ext4: fix end of region partial cluster handlingfs/ | +2 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] ext4: bigalloc partial cluster handling fixes
Some xfstests that perform hole punching operations fail as a result of partial cluster handling bugs when run on bigalloc file systems. These failures are manifested in the form of bad i_blocks values and block bitmap differences reported by e2fsck when it is run on the test filesystem at the conclusion of these xfstests. e2fsck typically reports that the file system is inconsistent, and messages may appear in the kernel log indicating that freed blocks are already on the to-be-freed list, a block bitmap is corrupt, etc. Depending upon the bug encountered, both overfreeing and underfreeing of blocks can occur.
Examples of these xfstests include generic/300 and shared/298. Once the first patch in this series is applied, new failures (generic/013, for example) may appear and then disappear with successive patch applications until all have been applied.
Eric Whitney (4):
ext4: fix partial cluster initialization
ext4: fix end of leaf partial cluster handling
ext4: miscellaneous partial cluster cleanups
ext4: fix end of region partial cluster handling
fs/ext4/extents.c | 169 +++++++++++++++++++++++++++++------------------------- 1 file changed, 92 insertions(+), 77 deletions(-)
Signature · 1 line
1.9.1