ext4: Shut down block groups when damage is detected, part 2
Status from this message: Thanks, applied.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ext4: Don't count free clusters from a corrupt block groupfs/ | +11 | 2 replies | |
| 2/2 | ext4: Spot-check block group sub-table locationsfs/ fs/ fs/ +2 more | +45 | 4 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Zheng Liu |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1.1 0/2] ext4: Shut down block groups when damage is detected, part 2
This patchset adds in a few things that weren't included in the original block group shutdown patches.
The first prevents corrupt block groups from contributing to the free block summary count, since by definition corrupt block groups have no free blocks.
The second patch performs a quick sanity check of bitmap and inode table block numbers when loading them in from disk. These are the same checks that are done at mount time; this patch guards against either deliberate sabotage or memory corruption. Since we're about to do a slow disk read anyway, we might as well take the time to double check for obvious brokenness.
This patchset has been tested (albeit lightly) against 3.12-rc2 on x64. Zheng Liu contributed some comments.
Comments and questions are, as always, welcome.
--D