Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: jim owens <jowens@hp.com>
To: Joe Peterson <lavajoe@gentoo.org>, Morey Roof <moreyroof@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: New feature Idea
Date: Wed, 13 Aug 2008 15:28:39 -0400	[thread overview]
Message-ID: <48A335E7.4020407@hp.com> (raw)
In-Reply-To: <48A330A2.6020306@gentoo.org>

Joe Peterson wrote:
> My thoughts on what you are saying is that it is not generally a good
> idea to assume any filesystem will lay things out in any specific way,
> including whether it has one-to-one mapping of files to blocks.  In
> other words, making a copy of a file on the same filesystem for safety
> reasons (unless you are modifying a file and want a backup of its old
> state, like emacs' ~ files) is probably not a great habit to get into.
> 
> The implementation details of how a filesystem makes things safer should
> be behind-the-scenes (like checksums, multiple-copies-by-default,
> mirroring, etc.).  That way, you can simply rely on the filesystem to
> manage protection of your data rather than going to the effort of
> managing multiple copies of files yourself for that reason.

I'm a filesystem guy so I only use ones I know do what I want,
I never trust ones I don't know about :)

I agree with you about the danger of assuming what a filesystem
will or won't do on local copies.  I also fear that 99% of normal
users have an expectation that making a copy makes a new physical
instance (which of course is not safe if the device crashes either).

I hate dealing with customers that have lost their data because
of the filesystem.


Morey Roof wrote:
> I was hoping to have it specified as a set of mount options or defaults 
> controlled in the super block so that if you want to use it you can 
> otherwise it doesn't exist.

I don't have veto power in btrfs so my aversion means nothing.

As you say, there are a number of good ways to control it.

If you pursue this, I might suggest having a dedup limit
so they can say "keep at least 2 copies" or "just one".

jim



  reply	other threads:[~2008-08-13 19:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-13 17:57 New feature Idea Morey Roof
2008-08-13 18:45 ` Jeff Fisher
2008-08-13 18:54 ` jim owens
2008-08-13 19:00   ` Jeff Fisher
2008-08-13 19:09     ` Morey Roof
2008-08-13 19:06   ` Joe Peterson
2008-08-13 19:28     ` jim owens [this message]
2008-08-13 19:40       ` Morey Roof
2008-08-13 19:28   ` btrfs-devel
2008-08-13 19:35     ` Kevin Cantu
2008-08-13 19:45       ` Morey Roof
2008-08-14 17:12   ` Chris Mason
2008-08-14 18:06     ` Anthony Roberts
2008-08-14 18:49     ` Zach Brown
2008-08-14 19:45       ` Morey Roof
2008-08-14 19:53       ` Chris Mason
2008-08-13 20:00 ` Andi Kleen
2008-08-13 20:10   ` Morey Roof

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=48A335E7.4020407@hp.com \
    --to=jowens@hp.com \
    --cc=lavajoe@gentoo.org \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=moreyroof@gmail.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