public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* Separate mount options for subvolumes?
@ 2009-09-14 19:55 Michel Alexandre Salim
  2009-09-15 13:44 ` Chris Mason
  0 siblings, 1 reply; 2+ messages in thread
From: Michel Alexandre Salim @ 2009-09-14 19:55 UTC (permalink / raw)
  To: linux-btrfs list

Hello,

It is my understanding that currently, the only difference between
subvolumes and snapshots are that snapshots share a root with an
existing tree, while subvolumes start off empty.

There is an interesting use case difference, though: because a
subvolume by definition cannot share data with other subvolumes, that
frees it up to being mounted with different options (e.g. nodatasum,
nodatacow).

The reason I'm wondering is that I just switched my home directory to
btrfs, and one of my machine is often used for rebuilding RPMs (for
initial testing, before getting it built on a build server). The data
is never kept for a long time, and so checksumming and COW would just
slow things down.

Would this be possible, and if so, is it planned for implementation by 1.0?

Thanks,

-- 
Michel Alexandre Salim

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Separate mount options for subvolumes?
  2009-09-14 19:55 Separate mount options for subvolumes? Michel Alexandre Salim
@ 2009-09-15 13:44 ` Chris Mason
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Mason @ 2009-09-15 13:44 UTC (permalink / raw)
  To: Michel Alexandre Salim; +Cc: linux-btrfs list

On Mon, Sep 14, 2009 at 03:55:39PM -0400, Michel Alexandre Salim wrote:
> Hello,
> 
> It is my understanding that currently, the only difference between
> subvolumes and snapshots are that snapshots share a root with an
> existing tree, while subvolumes start off empty.
> 
> There is an interesting use case difference, though: because a
> subvolume by definition cannot share data with other subvolumes, that
> frees it up to being mounted with different options (e.g. nodatasum,
> nodatacow).
> 
> The reason I'm wondering is that I just switched my home directory to
> btrfs, and one of my machine is often used for rebuilding RPMs (for
> initial testing, before getting it built on a build server). The data
> is never kept for a long time, and so checksumming and COW would just
> slow things down.
> 
> Would this be possible, and if so, is it planned for implementation by 1.0?

It would be possible, and long term we plan on storing a number of
options directly in the root so that you don't have to keep doing mount
-o foo.

-chris

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-15 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-14 19:55 Separate mount options for subvolumes? Michel Alexandre Salim
2009-09-15 13:44 ` Chris Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox