From: "Mike Snitzer" <snitzer@gmail.com>
To: "Hidehiro Kawai" <hidehiro.kawai.ez@hitachi.com>
Cc: akpm@linux-foundation.org, sct@redhat.com, adilger@clusterfs.com,
linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org,
jack@suse.cz, jbacik@redhat.com, cmm@us.ibm.com, tytso@mit.edu,
tglx@linutronix.de, yumiko.sugita.yf@hitachi.com,
satoshi.oshima.fk@hitachi.com
Subject: Re: [PATCH 1/2] ext3: add an option to control error handling on file data
Date: Wed, 30 Jul 2008 11:14:02 -0400 [thread overview]
Message-ID: <170fa0d20807300814o7741859eu8ad5d5b3b95e401c@mail.gmail.com> (raw)
In-Reply-To: <488FD756.9060106@hitachi.com>
On Tue, Jul 29, 2008 at 10:52 PM, Hidehiro Kawai
<hidehiro.kawai.ez@hitachi.com> wrote:
> If the journal doesn't abort when it gets an IO error in file data
> blocks, the file data corruption will spread silently. Because
> most of applications and commands do buffered writes without fsync(),
> they don't notice the IO error. It's scary for mission critical
> systems. On the other hand, if the journal aborts whenever it gets
> an IO error in file data blocks, the system will easily become
> inoperable. So this patch introduces a filesystem option to
> determine whether it aborts the journal or just call printk() when
> it gets an IO error in file data.
>
> If you mount a ext3 fs with data_err=abort option, it aborts on file
> data write error. If you mount it with data_err=ignore, it doesn't
> abort, just call printk(). data_err=abort is default, because
> people have used this error handling policy for three years.
Hidehiro,
Thanks for making this configurable!
But given how surprised many of us were when we found out that
jbd/ext3 has been aborting on file data blocks isn't this our chance
to correct that long-standing oversight? Shouldn't the default be
data_err=ignore? Or would changing this behavior cause more harm than
good?
I don't feel strongly either way, having the "data_err" option makes
this issue moot for me, but I figured I'd raise the question (in the
interest of review).
Mike
next prev parent reply other threads:[~2008-07-30 15:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-30 2:52 Hidehiro Kawai
2008-07-30 3:01 ` [PATCH 2/2] jbd: ordered data integrity fix Hidehiro Kawai
2008-07-30 15:14 ` Mike Snitzer [this message]
2008-07-30 21:17 ` [PATCH 1/2] ext3: add an option to control error handling on file data Andreas Dilger
2008-07-31 6:03 ` Hidehiro Kawai
2008-08-05 6:07 ` [PATCH 1/2] ext3: add an option to control error handling on file data (another ver.) Hidehiro Kawai
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=170fa0d20807300814o7741859eu8ad5d5b3b95e401c@mail.gmail.com \
--to=snitzer@gmail.com \
--cc=adilger@clusterfs.com \
--cc=akpm@linux-foundation.org \
--cc=cmm@us.ibm.com \
--cc=hidehiro.kawai.ez@hitachi.com \
--cc=jack@suse.cz \
--cc=jbacik@redhat.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=satoshi.oshima.fk@hitachi.com \
--cc=sct@redhat.com \
--cc=tglx@linutronix.de \
--cc=tytso@mit.edu \
--cc=yumiko.sugita.yf@hitachi.com \
/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
all inboxes | Powered by JetHome®