ext4: Shut down block groups when damage is detected, part 2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ext4: Don't count free clusters from a corrupt block groupfs/ | +6 | 2 replies | |
| 2/2 | ext4: Spot-check block group sub-table locationsfs/ fs/ fs/ +2 more | +38 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 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.
Comments and questions are, as always, welcome.
--D