From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: tytso@mit.edu, darrick.wong@oracle.com
Cc: linux-ext4@vger.kernel.org
Subject: [PATCH v1 0/2] ext4: Shut down block groups when damage is detected, part 2
Date: Thu, 26 Sep 2013 17:03:21 -0700 [thread overview]
Message-ID: <20130927000321.17889.68250.stgit@birch.djwong.org> (raw)
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
next reply other threads:[~2013-09-27 0:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-27 0:03 Darrick J. Wong [this message]
2013-09-27 0:03 ` [PATCH 1/2] ext4: Don't count free clusters from a corrupt block group Darrick J. Wong
2013-09-27 5:37 ` Zheng Liu
2013-09-27 18:03 ` Darrick J. Wong
2013-09-27 0:03 ` [PATCH 2/2] ext4: Spot-check block group sub-table locations Darrick J. Wong
2013-09-27 5:40 ` Zheng Liu
2013-09-27 17:57 ` Darrick J. Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130927000321.17889.68250.stgit@birch.djwong.org \
--to=darrick.wong@oracle.com \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).