linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Austin S Hemmelgarn <ahferroin7@gmail.com>
To: Jonathan Panozzo <jonp@lime-technology.com>,
	Zhao Lei <zhaolei@cn.fujitsu.com>
Cc: Chris Murphy <lists@colorremedies.com>,
	Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Questions on use of NOCOW impact to subvolumes and snapshots
Date: Thu, 20 Aug 2015 08:09:26 -0400	[thread overview]
Message-ID: <55D5C376.9090809@gmail.com> (raw)
In-Reply-To: <540B3004-C250-4C21-9E53-C38E20258DA9@lime-technology.com>

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

On 2015-08-20 00:40, Jonathan Panozzo wrote:
> Zhao,
>
> Thank you for your response.  Two quick follow-up questions:
>
> 1:  What happens on an unrecoverable data error case?  Does the volume get put into read-only mode?
Yes.
>
> 2:  Out of curiosity, why is data checksumming tied to COW?
There's no safe way to sanely handle checksumming without COW, because 
there is no way (at least on current hardware) to ensure that the data 
block and the checksums both get written at the exact same time, and 
that one of the writes aborting will cause the other too do so as well. 
  In-place compression is disabled for nodatasum files for essentially 
the same reason (although compression can cause much worse data loss 
than a failed checksum).




[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3019 bytes --]

  parent reply	other threads:[~2015-08-20 12:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-20  0:44 Questions on use of NOCOW impact to subvolumes and snapshots Jonathan Panozzo
2015-08-20  1:55 ` Chris Murphy
2015-08-20  3:43   ` Russell Coker
2015-08-20 16:44     ` Chris Murphy
2015-08-20 17:31       ` Austin S Hemmelgarn
2015-08-20  4:09   ` Zhao Lei
2015-08-20  4:40     ` Jonathan Panozzo
2015-08-20  6:03       ` Zhao Lei
2015-08-20  6:13         ` Jonathan Panozzo
2015-08-20  6:31           ` Zhao Lei
2015-08-20 12:09       ` Austin S Hemmelgarn [this message]
2015-08-21  3:34         ` Russell Coker

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=55D5C376.9090809@gmail.com \
    --to=ahferroin7@gmail.com \
    --cc=jonp@lime-technology.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lists@colorremedies.com \
    --cc=zhaolei@cn.fujitsu.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).