login
Header Space

 
 

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pádraig <P@...>
Cc: Vladislav Bolkhovitin <vst@...>, <linux-kernel@...>, <linux-fsdevel@...>
Date: Tuesday, June 19, 2007 - 8:04 am

On Tue, Jun 19, 2007 at 10:11:13AM +0100, P=E1draig Brady wrote:
e
em
ce
and
to

Yes, I would expect simple hard links to be a better solution for this,
but the feature request is not that out of line.  I actually had plans
on implementing auto duplicate block reuse earlier in btrfs.

Snapshots already share duplicate blocks between files, and so all of
the reference counting needed to implement this already exists.
Snapshots are writable, and data mods are copy on write, and in general
things work.

But, to help fsck, the extent allocation tree has a back pointer to the
inode that owns an extent.  If you're doing snapshots, all of the owner=
s
of the extent have the same inode number.   If you're sharing duplicate
blocks, the owners can have any inode number, and fsck becomes much mor=
e
complex.

In general, when I have to decide between fsck and a feature, I'm going
to pick fsck.  The features are much more fun, but fsck is one of the
main motivations for doing this work.

Thanks for the input,
Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel=
" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chris Mason, (Tue Jun 12, 12:10 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Vladislav Bolkhovitin, (Mon Jun 18, 1:37 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Pádraig Brady, (Tue Jun 19, 5:11 am)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chris Mason, (Tue Jun 19, 8:04 am)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Philipp Matthias Hahn, (Tue Jun 19, 2:28 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Vladislav Bolkhovitin, (Wed Jun 20, 4:44 am)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Vladislav Bolkhovitin, (Tue Jun 19, 10:00 am)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Vladislav Bolkhovitin, (Tue Jun 19, 6:01 am)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Vladislav Bolkhovitin, (Wed Jun 20, 4:41 am)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, John Stoffel, (Mon Jun 18, 4:08 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chris Mason, (Mon Jun 18, 10:41 am)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chris Mason, (Thu Jun 14, 3:13 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chris Mason, (Fri Jun 15, 3:11 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chris Mason, (Fri Jun 15, 4:51 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chris Mason, (Fri Jun 15, 8:54 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chris Mason, (Mon Jun 18, 10:29 am)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, John Stoffel, (Tue Jun 12, 11:46 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chuck Lever, (Thu Jun 14, 2:20 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chris Mason, (Thu Jun 14, 2:48 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chuck Lever, (Fri Jun 15, 1:17 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chris Mason, (Wed Jun 13, 6:35 am)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, John Stoffel, (Wed Jun 13, 10:00 am)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chris Mason, (Wed Jun 13, 10:54 am)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Grzegorz Kulewski, (Wed Jun 13, 12:25 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, John Stoffel, (Wed Jun 13, 12:12 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chris Mason, (Wed Jun 13, 12:34 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Mike Snitzer, (Tue Jun 12, 3:53 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chris Mason, (Tue Jun 12, 4:14 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Christoph Hellwig, (Tue Jun 12, 11:08 pm)
Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS, Chris Mason, (Wed Jun 13, 6:17 am)
speck-geostationary