Re: Questions on use of NOCOW impact to subvolumes and snapshots

2015-08-20 Thread Russell Coker
On Thu, 20 Aug 2015 10:09:26 PM Austin S Hemmelgarn wrote: > > 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 b

Re: Questions on use of NOCOW impact to subvolumes and snapshots

2015-08-20 Thread Austin S Hemmelgarn
On 2015-08-20 12:44, Chris Murphy wrote: On Wed, Aug 19, 2015 at 9:43 PM, Russell Coker wrote: On Thu, 20 Aug 2015 11:55:43 AM Chris Murphy wrote: Question 1: If I apply the NOCOW attribute to a file or directory, how does that affect my ability to run btrfs scrub? nodatacow includes nodata

Re: Questions on use of NOCOW impact to subvolumes and snapshots

2015-08-20 Thread Chris Murphy
On Wed, Aug 19, 2015 at 9:43 PM, Russell Coker wrote: > On Thu, 20 Aug 2015 11:55:43 AM Chris Murphy wrote: >> > Question 1: If I apply the NOCOW attribute to a file or directory, how >> > does that affect my ability to run btrfs scrub? >> >> nodatacow includes nodatasum and no compression. So it

Re: Questions on use of NOCOW impact to subvolumes and snapshots

2015-08-20 Thread Austin S Hemmelgarn
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 saf

RE: Questions on use of NOCOW impact to subvolumes and snapshots

2015-08-19 Thread Zhao Lei
Hi, Jonathan Panozzo > -Original Message- > From: Jonathan Panozzo [mailto:j...@lime-technology.com] > Sent: Thursday, August 20, 2015 2:13 PM > To: Zhao Lei > Cc: Chris Murphy ; Btrfs BTRFS > > Subject: Re: Questions on use of NOCOW impact to subvolumes and snaps

Re: Questions on use of NOCOW impact to subvolumes and snapshots

2015-08-19 Thread Jonathan Panozzo
t;>> >>>> -Original Message- >>>> From: linux-btrfs-ow...@vger.kernel.org >>>> [mailto:linux-btrfs-ow...@vger.kernel.org] On Behalf Of Chris Murphy >>>> Sent: Thursday, August 20, 2015 9:56 AM >>>> To: Jonathan Panozzo ; Btrf

RE: Questions on use of NOCOW impact to subvolumes and snapshots

2015-08-19 Thread Zhao Lei
Hi, Jonathan Panozzo > -Original Message- > From: Jonathan Panozzo [mailto:j...@lime-technology.com] > Sent: Thursday, August 20, 2015 12:41 PM > To: Zhao Lei > Cc: Chris Murphy ; Btrfs BTRFS > > Subject: Re: Questions on use of NOCOW impact to subvolumes an

Re: Questions on use of NOCOW impact to subvolumes and snapshots

2015-08-19 Thread Jonathan Panozzo
> Hi, Jonathan Panozzo, > >> -Original Message- >> From: linux-btrfs-ow...@vger.kernel.org >> [mailto:linux-btrfs-ow...@vger.kernel.org] On Behalf Of Chris Murphy >> Sent: Thursday, August 20, 2015 9:56 AM >> To: Jonathan Panozzo ; Btrfs BTRFS >>

RE: Questions on use of NOCOW impact to subvolumes and snapshots

2015-08-19 Thread Zhao Lei
Hi, Jonathan Panozzo, > -Original Message- > From: linux-btrfs-ow...@vger.kernel.org > [mailto:linux-btrfs-ow...@vger.kernel.org] On Behalf Of Chris Murphy > Sent: Thursday, August 20, 2015 9:56 AM > To: Jonathan Panozzo ; Btrfs BTRFS > > Subject: Re: Questions on u

Re: Questions on use of NOCOW impact to subvolumes and snapshots

2015-08-19 Thread Russell Coker
On Thu, 20 Aug 2015 11:55:43 AM Chris Murphy wrote: > > Question 1: If I apply the NOCOW attribute to a file or directory, how > > does that affect my ability to run btrfs scrub? > > nodatacow includes nodatasum and no compression. So it means these > files are presently immune from scrub check a

Re: Questions on use of NOCOW impact to subvolumes and snapshots

2015-08-19 Thread Chris Murphy
On Wed, Aug 19, 2015 at 6:44 PM, Jonathan Panozzo wrote: > Hello btrfs mailing list! > > I have a two questions regarding the use of the NOCOW bit and how this > affects scrub and snapshots. > > Question 1: If I apply the NOCOW attribute to a file or directory, how does > that affect my ability

Questions on use of NOCOW impact to subvolumes and snapshots

2015-08-19 Thread Jonathan Panozzo
Hello btrfs mailing list! I have a two questions regarding the use of the NOCOW bit and how this affects scrub and snapshots. Question 1: If I apply the NOCOW attribute to a file or directory, how does that affect my ability to run btrfs scrub? Question 2: If I apply the NOCOW attribute recu