From: Ric Wheeler <ric@emc.com>
To: Paul Clements <paul.clements@steeleye.com>
Cc: Gil <gil@fooplanet.com>, linux-raid@vger.kernel.org
Subject: Re: md: Change ENOTSUPP to EOPNOTSUPP
Date: Tue, 02 May 2006 07:37:36 -0400 [thread overview]
Message-ID: <44574480.8010405@emc.com> (raw)
In-Reply-To: <4456BBE4.2000706@steeleye.com>
Paul Clements wrote:
>
> You'll see something like this in your system log if barriers are not
> supported:
>
> Apr 3 16:44:01 adam kernel: JBD: barrier-based sync failed on md0 -
> disabling barriers
>
>
> Otherwise, assume that they are. But like Neil said, it shouldn't
> matter to a user whether they are supported or not. Filesystems will
> work correctly either way.
>
> --
> Paul
>
File systems will work correctly, but if you are running without
barriers and with your write cache enabled, you are running the risk of
data loss or file system corruption on any power loss.
It is an issue of concern since drive companies ship the write cache on
by default. When we detect a non-supported drive (queuing enabled, lack
of support for the barrier low level mechanism) we disable future
barrier request and leave the write cache enabled.
I guess that you could argue that this is what most home users want
(i.e., best performance at the cost of some possible data loss on power
outage since most people lose power rarely these days), but it is not
good enough for critical data storage.
I would suggest that if you see this message on ext3 (or the reiserfs
message for reiser users), you should run with your write cache disabled
by default or disable queuing (which is often the reason the barrier ops
get disabled).
ric
next prev parent reply other threads:[~2006-05-02 11:37 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-28 2:51 [PATCH 000 of 5] md: Introduction - assorted raid10/raid1 fixes NeilBrown
2006-04-28 2:50 ` [PATCH 001 of 5] md: Avoid oops when attempting to fix read errors on raid10 NeilBrown
2006-05-01 21:52 ` [stable] " Greg KH
2006-04-28 2:51 ` [PATCH 002 of 5] md: Fixed refcounting/locking when attempting read error correction in raid10 NeilBrown
2006-04-28 2:51 ` [PATCH 003 of 5] md: Change ENOTSUPP to EOPNOTSUPP NeilBrown
2006-04-28 13:34 ` Molle Bestefich
2006-04-28 16:48 ` Ric Wheeler
2006-04-29 13:50 ` Molle Bestefich
2006-04-29 20:23 ` Ric Wheeler
2006-05-01 16:14 ` Gil
2006-05-02 1:54 ` Paul Clements
2006-05-02 2:17 ` Mike Hardy
2006-05-02 11:37 ` Ric Wheeler [this message]
2006-04-30 4:13 ` [PATCH 003 of 5] " Neil Brown
2006-04-30 5:33 ` Guy
2006-04-30 6:00 ` Neil Brown
2006-04-28 2:51 ` [PATCH 004 of 5] md: Improve detection of lack of barrier support in raid1 NeilBrown
2006-04-28 2:51 ` [PATCH 005 of 5] md: Fix 'rdev->nr_pending' count when retrying barrier requests NeilBrown
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=44574480.8010405@emc.com \
--to=ric@emc.com \
--cc=gil@fooplanet.com \
--cc=linux-raid@vger.kernel.org \
--cc=paul.clements@steeleye.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;
as well as URLs for NNTP newsgroup(s).