From: Andrew Morton <akpm@linux-foundation.org>
To: Andreas Dilger <adilger@clusterfs.com>
Cc: "linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>
Subject: Re: data=journal busted
Date: Fri, 16 Feb 2007 15:42:46 -0800 [thread overview]
Message-ID: <20070216154246.7b9a643c.akpm@linux-foundation.org> (raw)
In-Reply-To: <20070216233108.GY10715@schatzie.adilger.int>
On Fri, 16 Feb 2007 16:31:09 -0700
Andreas Dilger <adilger@clusterfs.com> wrote:
> > I suspect we should resurrect and formalise my old
> > make-the-disk-stop-accepting-writes-when-a-timer-goes-off thing. It was
> > very useful for stress-testing recovery.
>
> We have a patch that we use for Lustre testing which allows you to set a
> block device readonly (silently discarding all writes), without the
> filesystem immediately keeling over dead like set_disk_ro. The readonly
> state persists until the the last reference on the block device is dropped,
> so there are no races w.r.t. VFS cleanup of inodes and flushing buffers
> after the filesystem is unmounted.
Not sure I understand all that.
For this application, we *want* to expose VFS races, errors in handling
EIO, errors in handling lost writes, etc. It's another form of for-developers
fault injection, not a thing-for-production.
The reason I prefer doing it from the timer interrupt is to toss more
randomness in there, avoid the possibility of getting synchronised
with application or kernel activity in some fashion.
I don't know if there's much value in that, but it provides peace-of-mind.
I'm now seeing reports that ordered-data is corrupting data and metadata,
as is data=writeback. I'm hoping that the blame lies with the
allededly-battery-backed RAID controller, but it could be ext3. Has anyone
actually done any decent recovery testing in the past half decade?
next prev parent reply other threads:[~2007-02-16 23:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-16 4:44 data=journal busted Andrew Morton
2007-02-16 22:50 ` Randy Dunlap
2007-02-16 23:19 ` Andrew Morton
2007-02-16 23:31 ` Andreas Dilger
2007-02-16 23:42 ` Andrew Morton [this message]
2007-02-17 7:52 ` Andreas Dilger
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=20070216154246.7b9a643c.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=adilger@clusterfs.com \
--cc=linux-ext4@vger.kernel.org \
/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