From: Austin S Hemmelgarn <ahferroin7@gmail.com>
To: Duncan <1i5t5.duncan@cox.net>, linux-btrfs@vger.kernel.org
Subject: Re: FYIO: A rant about btrfs
Date: Fri, 18 Sep 2015 09:12:42 -0400 [thread overview]
Message-ID: <55FC0DCA.1080905@gmail.com> (raw)
In-Reply-To: <pan$8db10$2ae04448$ef503df5$d1537993@cox.net>
[-- Attachment #1: Type: text/plain, Size: 1516 bytes --]
On 2015-09-17 20:34, Duncan wrote:
> Zygo Blaxell posted on Wed, 16 Sep 2015 18:08:56 -0400 as excerpted:
>
>> On Wed, Sep 16, 2015 at 03:04:38PM -0400, Vincent Olivier wrote:
>>>
>>> OK fine. Let it be clearer then (on the Btrfs wiki): nobarrier is an
>>> absolute no go. Case closed.
>>
>> Sometimes it is useful to make an ephemeral filesystem, i.e. a btrfs on
>> a dm-crypt device with a random key that is not stored. This
>> configuration intentionally and completely destroys the entire
>> filesystem, and all data on it, in the event of a power failure. It's
>> useful for things like temporary table storage, where ramfs is too
>> small, swap-backed tmpfs is too slow, and/or there is a requirement that
>> the data not be persisted across reboots.
>>
>> In other words, nobarrier is for a little better performance when you
>> already want to _intentionally_ destroy your filesystem on power
>> failure.
>
> Very good explanation of why it's useful to have such an otherwise
> destructive mount option even available in the first place. Thanks! =:^)
>
The other reason, as has been pointed out in a different sub-thread, is
that if you have a guaranteed good hardware RAID controller, which has a
known good built in non-volatile write cache, and you turn off
write-reordering, and you turn off the write-caches on all the connected
hard drives, then it is relatively safe. Of course, the chances of most
people actually meeting all those conditions is pretty slim.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3019 bytes --]
next prev parent reply other threads:[~2015-09-18 13:12 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 14:43 FYIO: A rant about btrfs M G Berberich
2015-09-16 15:20 ` Austin S Hemmelgarn
2015-09-16 16:25 ` Zia Nayamuth
2015-09-16 19:08 ` Austin S Hemmelgarn
2015-09-16 23:29 ` Hugo Mills
2015-09-17 15:57 ` Martin Steigerwald
2015-09-18 13:06 ` Austin S Hemmelgarn
2015-09-16 16:45 ` Martin Tippmann
2015-09-16 19:21 ` Austin S Hemmelgarn
2015-09-16 23:31 ` Hugo Mills
2015-09-17 11:31 ` Austin S Hemmelgarn
2015-09-17 14:52 ` Aneurin Price
2015-09-18 13:10 ` Austin S Hemmelgarn
2015-09-24 16:38 ` Aneurin Price
2015-09-17 2:07 ` Rich Freeman
2015-09-16 16:53 ` Vincent Olivier
[not found] ` <A4269DC6-6CD6-4E8C-B3C9-5F5DDBE86911@up4.com>
2015-09-16 18:22 ` Austin S Hemmelgarn
2015-09-16 19:04 ` Vincent Olivier
2015-09-16 19:36 ` Austin S Hemmelgarn
2015-09-16 22:08 ` Zygo Blaxell
2015-09-18 0:34 ` Duncan
2015-09-18 13:12 ` Austin S Hemmelgarn [this message]
2015-09-16 22:25 ` Duncan
2015-09-23 20:39 ` Josef Bacik
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=55FC0DCA.1080905@gmail.com \
--to=ahferroin7@gmail.com \
--cc=1i5t5.duncan@cox.net \
--cc=linux-btrfs@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).