From: Ric Wheeler <rwheeler@redhat.com>
To: "Theodore Ts'o" <tytso@mit.edu>
Cc: Jan Kara <jack@suse.cz>,
Linux Kernel Developers List <linux-kernel@vger.kernel.org>,
linux-ext4@vger.kernel.org
Subject: Re: [PATCH, RFC] ext3: Update Kconfig description of EXT3_DEFAULTS_TO_ORDERED
Date: Mon, 10 Aug 2009 16:55:38 -0400 [thread overview]
Message-ID: <4A80894A.7050506@redhat.com> (raw)
In-Reply-To: <1249934623-15939-1-git-send-email-tytso@mit.edu>
On 08/10/2009 04:03 PM, Theodore Ts'o wrote:
> The old description for this configuration option was perhaps not
> completely balanced in terms of describing the tradeoffs of using a
> default of data=writeback vs. data=ordered. Despite the fact that old
> description very strongly recomended disabling this feature, all of
> the major distributions have elected to preserve the existing 'legacy'
> default, which is a strong hint that it perhaps wasn't telling the
> whole story.
>
> This revised description has been vetted by a number of ext3
> developers as being better at informing the user about the tradeoffs
> of enabling or disabling this configuration feature.
>
> Signed-off-by: "Theodore Ts'o"<tytso@mit.edu>
> Cc: linux-ext4@vger.kernel.org
>
Thanks Ted - this is much more informative and will allow for a more
informed trade off to be made,
Ric
> ---
> fs/ext3/Kconfig | 32 +++++++++++++++++---------------
> 1 files changed, 17 insertions(+), 15 deletions(-)
>
> diff --git a/fs/ext3/Kconfig b/fs/ext3/Kconfig
> index fb3c1a2..522b154 100644
> --- a/fs/ext3/Kconfig
> +++ b/fs/ext3/Kconfig
> @@ -29,23 +29,25 @@ config EXT3_FS
> module will be called ext3.
>
> config EXT3_DEFAULTS_TO_ORDERED
> - bool "Default to 'data=ordered' in ext3 (legacy option)"
> + bool "Default to 'data=ordered' in ext3"
> depends on EXT3_FS
> help
> - If a filesystem does not explicitly specify a data ordering
> - mode, and the journal capability allowed it, ext3 used to
> - historically default to 'data=ordered'.
> -
> - That was a rather unfortunate choice, because it leads to all
> - kinds of latency problems, and the 'data=writeback' mode is more
> - appropriate these days.
> -
> - You should probably always answer 'n' here, and if you really
> - want to use 'data=ordered' mode, set it in the filesystem itself
> - with 'tune2fs -o journal_data_ordered'.
> -
> - But if you really want to enable the legacy default, you can do
> - so by answering 'y' to this question.
> + The journal mode options for ext3 have different tradeoffs
> + between when data is guaranteed to be on disk and
> + performance. The use of "data=writeback" can cause
> + unwritten data to appear in files after an system crash or
> + power failure, which can be a security issue. However,
> + "data=ordered" mode can also result in major performance
> + problems, including seconds-long delays before an fsync()
> + call returns. For details, see:
> +
> + http://ext4.wiki.kernel.org/index.php/Ext3_data_mode_tradeoffs
> +
> + If you have been historically happy with ext3's performance,
> + data=ordered mode will be a safe choice and you should
> + answer 'y' here. If you understand the reliability and data
> + privacy issues of data=writeback and are willing to make
> + that trade off, answer 'n'.
>
> config EXT3_FS_XATTR
> bool "Ext3 extended attributes"
>
next prev parent reply other threads:[~2009-08-10 20:55 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-10 20:03 [PATCH, RFC] ext3: Update Kconfig description of EXT3_DEFAULTS_TO_ORDERED Theodore Ts'o
2009-08-10 20:28 ` Jan Kara
2009-08-10 20:55 ` Ric Wheeler [this message]
2009-08-11 3:49 ` Al Boldi
2009-08-11 9:33 ` Jan Kara
2009-08-11 11:41 ` Al Boldi
2009-08-11 13:35 ` What happened to data=guarded? (was: ext3: Update Kconfig description of EXT3_DEFAULTS_TO_ORDERED) Frans Pop
2009-08-11 13:37 ` Chris Mason
2009-08-11 14:54 ` What happened to data=guarded? Frans Pop
2009-08-11 15:29 ` Andi Kleen
2009-08-11 15:34 ` Jan Kara
2009-08-11 18:04 ` Eric Sandeen
2009-08-11 18:57 ` Theodore Tso
2009-08-10 16:42 ` Pavel Machek
2009-08-10 16:42 ` Pavel Machek
2009-08-11 22:00 ` Bernd Eckenfels
2009-08-12 20:37 ` Jan Kara
2009-08-11 19:09 ` Andi Kleen
2009-08-11 19:09 ` Andi Kleen
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=4A80894A.7050506@redhat.com \
--to=rwheeler@redhat.com \
--cc=jack@suse.cz \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.