From: Christoph Anton Mitterer <calestyo@scientia.net>
To: "Austin S. Hemmelgarn" <ahferroin7@gmail.com>,
Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: RedHat 7.4 Release Notes: "Btrfs has been deprecated" - wut?
Date: Tue, 15 Aug 2017 16:41:16 +0200 [thread overview]
Message-ID: <1502808076.5369.2.camel@scientia.net> (raw)
In-Reply-To: <fff8aae1-285b-ffb4-15b6-d255004fe3c2@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3959 bytes --]
On Tue, 2017-08-15 at 07:37 -0400, Austin S. Hemmelgarn wrote:
> Go look at Chrome, or Firefox, or Opera, or any other major web
> browser.
> At minimum, they will safely bail out if they detect corruption in
> the
> user profile and can trivially resync the profile from another system
> if
> the user has profile sync set up.
Aha,... I'd rather see a concrete reference to some white paper or
code, where one can really see that these programs actually *do* their
own checksumming.
But even from what you claim here now (that they'd only detect the
corruption and then resync from another system - which is nothing else
than recovering from a backup), I wouldn't see the big problem with
EIO.
> Go take a look at any enterprise
> database application from a reasonable company, it will almost
> always
> support replication across systems and validate data it reads.
Okay, I already showed you, that PostgreSQL, MySQL, BDB, sqlite can't
or don't do per default... so which do you mean with the enterprise DB
(Oracle?) and where's the reference that shows that they really do
general checksuming? And that EIO would be a problem for their recovery
strategies?
And again, we're not talking about the WALs (or whatever these programs
call it) which are there to handle a crash... we are talking about
silent data corruption.
> Agreed, but there's also the counter argument for log files that
> most
> people who are not running servers rarely (if ever) look at old
> logs,
> and it's the old logs that are the most likely to have at rest
> corruption (the longer something sits idle on media, the more likely
> it
> will suffer from a media error).
I wouldn't have any valid prove that it's really the "idle" data, which
is the most likely one to have silent corruptions (at least not for all
types of storage medium), but even if this is the case as you say...
then it's probably more likely to hit the /usr/ /lib/ and so on stuff
on stable distros... logs are typically rotated and then at least once
re-written (when compressed).
> Go install OpenSUSE in a VM. Look at what filesystem it uses. Go
> install Solaris in a VM, lo and behold it uses ZFS _with no option
> for
> anything else_ as it's root filesystem. Go install a recent version
> of
> Windows server in a VM, notice that it also has the option of a
> properly
> checked filesystem (ReFS). Go install FreeBSD in a VM, notice that
> it
> provides the option (which is actively recommended by many people
> who
> use FreeBSD) to install with root on ZFS. Install Android or Chrome
> OS
> (or AOSP or Chromium OS) in a VM. Root the system and take a look
> at
> the storage stack, both of them use dm-verity, and Android (and
> possibly
> Chrome OS too, not 100% certain) uses per-file AEAD through the VFS
> encryption API on encrypted devices.
So your argument for not adding support for this is basically:
People don't or shouldn't use btrfs for this? o.O
> The fact that some OS'es blindly
> trust the underlying storage hardware is not our issue, it's their
> issue, and it shouldn't be 'fixed' by BTRFS because it doesn't just
> affect their customers who run the OS in a VM on BTRFS.
Then you can probably drop checksumming from btrfs altogether. And with
the same "argument" any other advanced feature.
For resilience there is hardware RAID or Linux' MD raid... so no need
to keep it in btrfs o.O
> Most enterprise database apps offer support for
> replication,
> and quite a few do their own data validation when reading from the
> database.
First of all,... replication != the capability to detect silent data
corruption.
You still haven't named a single one which does checksumming per
default. At least those which are quite popular in the FLOSS world all
don't seem to do.
Cheers,
Chris.
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5930 bytes --]
next prev parent reply other threads:[~2017-08-15 14:41 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-02 8:38 RedHat 7.4 Release Notes: "Btrfs has been deprecated" - wut? Brendan Hide
2017-08-02 9:11 ` Wang Shilong
2017-08-03 19:18 ` Chris Murphy
2017-08-02 11:25 ` Austin S. Hemmelgarn
2017-08-02 12:55 ` Lutz Vieweg
2017-08-02 13:47 ` Austin S. Hemmelgarn
2017-08-02 18:44 ` Chris Mason
2017-08-02 22:12 ` Fajar A. Nugraha
2017-08-02 22:22 ` Chris Murphy
2017-08-03 9:59 ` Lutz Vieweg
2017-08-03 18:08 ` waxhead
2017-08-03 18:29 ` Christoph Anton Mitterer
2017-08-03 19:22 ` Austin S. Hemmelgarn
2017-08-03 20:45 ` Brendan Hide
2017-08-03 22:00 ` Chris Murphy
2017-08-04 11:26 ` Austin S. Hemmelgarn
2017-08-03 19:03 ` Austin S. Hemmelgarn
2017-08-04 9:48 ` Duncan
2017-08-16 18:07 ` David Sterba
2017-08-04 14:05 ` Qu Wenruo
2017-08-04 23:55 ` Wang Shilong
2017-08-07 15:27 ` Chris Murphy
2017-08-10 0:35 ` Qu Wenruo
2017-08-12 0:10 ` Christoph Anton Mitterer
2017-08-12 7:42 ` Christoph Hellwig
2017-08-12 11:51 ` Christoph Anton Mitterer
2017-08-12 12:12 ` Hugo Mills
2017-08-13 14:08 ` Goffredo Baroncelli
2017-08-14 7:08 ` Qu Wenruo
2017-08-14 14:23 ` Goffredo Baroncelli
2017-08-14 19:08 ` Chris Murphy
2017-08-14 20:27 ` Goffredo Baroncelli
2017-08-14 6:36 ` Qu Wenruo
2017-08-14 7:43 ` Paul Jones
2017-08-14 7:46 ` Qu Wenruo
2017-08-14 12:32 ` Christoph Anton Mitterer
2017-08-14 12:58 ` Qu Wenruo
2017-08-14 12:24 ` Christoph Anton Mitterer
2017-08-14 14:23 ` Austin S. Hemmelgarn
2017-08-14 15:13 ` Graham Cobb
2017-08-14 15:53 ` Austin S. Hemmelgarn
2017-08-14 16:42 ` Graham Cobb
2017-08-14 19:54 ` Christoph Anton Mitterer
2017-08-15 11:37 ` Austin S. Hemmelgarn
2017-08-15 14:41 ` Christoph Anton Mitterer [this message]
2017-08-15 15:43 ` Austin S. Hemmelgarn
2017-08-16 13:12 ` Chris Mason
2017-08-16 13:31 ` Christoph Anton Mitterer
2017-08-16 13:53 ` Austin S. Hemmelgarn
2017-08-16 14:11 ` Christoph Anton Mitterer
2017-08-16 15:07 ` Austin S. Hemmelgarn
2017-08-16 17:26 ` Peter Grandi
2017-08-16 18:19 ` David Sterba
2017-08-16 16:54 ` Peter Grandi
2017-08-16 13:56 ` Austin S. Hemmelgarn
2017-08-16 14:01 ` Qu Wenruo
2017-08-16 19:52 ` Chris Murphy
2017-08-17 6:25 ` GWB
2017-08-17 11:47 ` Austin S. Hemmelgarn
2017-08-17 19:00 ` Chris Murphy
2017-08-17 20:34 ` GWB
2017-08-16 16:44 ` Peter Grandi
2017-08-14 19:39 ` Christoph Anton Mitterer
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=1502808076.5369.2.camel@scientia.net \
--to=calestyo@scientia.net \
--cc=ahferroin7@gmail.com \
--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 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.