Skip to content

ext4: Check journal inode extents more carefully

Jan Kara linux-ext4 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 1 replyIn review
  2. v26 patches 4 repliesSuperseded
  3. v14 patches 7 repliesSuperseded

Changes in v3 from the cover letter

* Add more Reviewed-by tags from Lukas
* Fix intermediate compilation failure in patch 3/6

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ext4: Handle error of ext4_setup_system_zone() on remountfs/ext4/super.c+4 -10 replies
2/6ext4: Don't allow overlapping system zonesfs/ext4/block_validity.c+13 -230 replies
3/6ext4: Check journal inode extents more carefullyfs/ext4/block_validity.c fs/ext4/ext4.h fs/ext4/extents.c +3 more+41 -470 replies
4/6ext4: Fold ext4_data_block_valid_rcu() into the callerfs/ext4/block_validity.c+31 -380 replies
5/6ext4: Handle add_system_zone() failure in ext4_setup_system_zone()fs/ext4/block_validity.c+5 -20 replies
6/6ext4: Correctly restore system zone info when remount failsfs/ext4/block_validity.c fs/ext4/super.c+21 -160 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchLukas Czerner
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH 0/6 v3] ext4: Check journal inode extents more carefully

Hello!

This series changes ext4 to properly check extent tree blocks of journal inode. Omitting these (which is a limitation of block validity checks) leads to crash in ext4_cache_extents() in case the extent tree of the journal inode is suitably corrupted.

Changes since v1:
* Added Reviewed-by tags from Lukas
* Fixed two more unrelated minor bugs in block validity testing spotted by Lukas

Changes since v2:
* Add more Reviewed-by tags from Lukas
* Fix intermediate compilation failure in patch 3/6

Honza