Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: syntax for deleting subvolumes?
Date: Fri, 20 Mar 2015 04:18:38 +0000 (UTC)	[thread overview]
Message-ID: <pan$e3d8c$58030454$dbd36547$e1e1c7cd@cox.net> (raw)
In-Reply-To: CAJCQCtSrR7tOQMkbKdk5y2FJ7J2nYNAAjowRnic2O13wa3d1PA@mail.gmail.com

Chris Murphy posted on Thu, 19 Mar 2015 13:09:06 -0600 as excerpted:

> Erkki's cp --reflink idea is a good one. I've often wondered if it's a
> good idea, and possible, to eventually make --reflink the default
> behavior with Btrfs copies (I think some things probably first need
> enhancement like the cross subvolume stuff, because otherwise cp could
> fail inexplicably).

If cp --reflink=auto was the default, it'd "just work", making a reflink 
where possible, falling back to a normal copy where not possible to 
reflink.

However, I'd be wary of such a change, because admins are used to cp 
creating a separate copy which may well be intended as a backup, guarding 
against I/O errors on the original.  Btrfs does do checksum checking to 
ensure validity, but if that fails, do you really want it failing for 
BOTH copies, including the one the admin made specifically to AVOID such 
a problem, because he knows the file is likely to be open at the time of 
a crash or some such and did a cp to have a backup, just in case?  I know 
as an admin, *I* wouldn't like such behavior.  Far better to simply have 
the option there should I deliberately invoke it, but not invoke it by 
default, in ordered to avoid unhappy surprises!

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


  reply	other threads:[~2015-03-20  4:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-18 20:42 syntax for deleting subvolumes? K Richard Pixley
2015-03-18 21:06 ` Chris Murphy
2015-03-18 21:39   ` K Richard Pixley
2015-03-18 21:55     ` Hugo Mills
2015-03-18 23:01       ` K Richard Pixley
2015-03-18 23:33         ` Chris Murphy
2015-03-19  0:47           ` Jeff Mahoney
2015-03-19  2:55             ` Chris Murphy
2015-03-18 22:15     ` Chris Murphy
2015-03-18 23:22       ` K Richard Pixley
2015-03-18 23:50         ` Chris Murphy
2015-03-19  7:18         ` Erkki Seppala
2015-03-21  3:20           ` Russell Coker
2015-03-19 19:09         ` Chris Murphy
2015-03-20  4:18           ` Duncan [this message]
2015-03-21  3:17             ` Russell Coker
2015-03-18 21:09 ` Hugo Mills

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='pan$e3d8c$58030454$dbd36547$e1e1c7cd@cox.net' \
    --to=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