From: Luca Berra <bluca@comedia.it>
To: linux-raid@vger.kernel.org
Subject: Re: [PATCH] secure write for RAID1
Date: Wed, 27 Apr 2005 13:26:08 +0200 [thread overview]
Message-ID: <20050427112608.GB19485@percy.comedia.it> (raw)
In-Reply-To: <20050427060531.GH4431@marowsky-bree.de>
On Wed, Apr 27, 2005 at 08:05:31AM +0200, Lars Marowsky-Bree wrote:
>On 2005-04-27T13:24:36, Neil Brown <neilb@cse.unsw.edu.au> wrote:
>
>> On Saturday April 23, ptb@lab.it.uc3m.es wrote:
>> > This patch (completely untested of course - what, me?) makes RAID1 write
>> > to all components of a raid-1 array, else return error to the write
>> > attempt, when one component cannot be written.
>> I don't understand why or when you would want this.
>>
>> This wouldn't just return an error to the application if the write
>> wasn't completely safe. It would cause the filesystem to switch to
>> read-only very quickly and make your machine un-usable. Is that
>> really what you want??
>
>Databases sometimes want this (also for replication).
>
>They'd rather fail than potentially lose a committed transaction, and to
>that end they require that the data be written to at least two disks; ie
>they want the data to be able to withstand at least one failure. We've
>had such a request from a big database vendor for drbd too.
yes, if it were possible to return the failure to the application it
would be great. if it is not, in such "corner" cases it is better to
have an app fail than to promise it has committed a replicated
transaction, and lie about it.
>(This however is a great application for >2 mirrors and a write quorum
>of two, though.)
+1
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
next prev parent reply other threads:[~2005-04-27 11:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-23 20:48 [PATCH] secure write for RAID1 Peter T. Breuer
2005-04-25 12:33 ` Lars Marowsky-Bree
2005-04-25 15:52 ` Peter T. Breuer
2005-04-25 16:29 ` Peter T. Breuer
2005-04-25 17:03 ` Lars Marowsky-Bree
2005-04-27 3:24 ` Neil Brown
2005-04-27 6:05 ` Lars Marowsky-Bree
2005-04-27 11:26 ` Luca Berra [this message]
2005-04-28 12:34 ` Tom Coughlan
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=20050427112608.GB19485@percy.comedia.it \
--to=bluca@comedia.it \
--cc=linux-raid@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;
as well as URLs for NNTP newsgroup(s).