Re: [RFC 12/26] ext2 white-out support

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dave Kleikamp <shaggy@...>
Cc: Josef Sipek <jsipek@...>, Jan Blunck <jblunck@...>, <linux-fsdevel@...>, <linux-kernel@...>, Bharata B Rao <bharata@...>, <hch@...>
Date: Wednesday, August 1, 2007 - 6:06 pm

In message <1185997941.18007.30.camel@kleikamp.austin.ibm.com>, Dave Kleikamp writes:
[...]

There are three other reasons why Unionfs and our users like to have
multiple writable branches:

1. If only the topmost layer is writable, then every little change tends to
   cause a copyup, which tends to clutter the top layer more quickly.  Some
   of our users didn't like that idea, while others explicitly wanted it --
   so we give them a choice to decide, on a per layer/branch whether it
   should be writable or readonly.

2. Some users unify different packages together.  Imagine you union under
   /union, several installed packages: /X11R6/{bin,man,lib,conf},
   /apache/{bin,man,lib,etc}, and /mysql/{bin,man,lib,etc}, and so on.  If a
   user modifies /union/apache/etc/apache.conf, they sometimes want
   apache.conf to remain in the writable branch it came from, not copied up.
   That way all apache related files are logically left where they came
   from, which makes administration easier.  Again, some users like to have
   multiple writable branches, and some don't -- so in Unionfs we give them
   the choice.  And yes, it does make our implementation more complex.

3. Some people use Unionfs in the scenario described in point #2 above, as a
   poor man's space- and load- distribution system.  Some of our users like
   the idea of controlling how much storage space they give each branch, and
   how much it might grow, and even how much CPU or I/O load might be placed
   on each of the lower filesystems which serve a given branch.  That way
   they worry less about the top-layer's space filling up more quickly than
   expected.  Now Unionfs was never designed to be a load-balancing f/s (we
   have RAIF for that, see <http://www.filesystems.org/project-raif.html>),
   but users seems to always find creative ways to [ab]use one's software in
   ways one never thought of. :-)

BTW, does Union Mounts copyup on meta-data changes (e.g., chmod, chgrp,
etc.)?

Erez.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC 12/26] ext2 white-out support, Jan Blunck, (Mon Jul 30, 12:13 pm)
Re: [RFC 12/26] ext2 white-out support, Josef Sipek, (Tue Jul 31, 12:36 pm)
Re: [RFC 12/26] ext2 white-out support, Jan Engelhardt, (Wed Aug 1, 1:58 pm)
Re: [RFC 12/26] ext2 white-out support, Josef Sipek, (Wed Aug 1, 2:03 pm)
Re: [RFC 12/26] ext2 white-out support, Mark Williamson, (Tue Jul 31, 1:03 pm)
Re: [RFC 12/26] ext2 white-out support, Josef Sipek, (Tue Jul 31, 1:16 pm)
Re: [RFC 12/26] ext2 white-out support, Jan Blunck, (Tue Jul 31, 1:00 pm)
Re: [RFC 12/26] ext2 white-out support, Hans-Peter Jansen, (Wed Aug 1, 6:00 am)
Re: [RFC 12/26] ext2 white-out support, Jan Engelhardt, (Wed Aug 1, 2:01 pm)
Re: [RFC 12/26] ext2 white-out support, Josef Sipek, (Wed Aug 1, 7:43 am)
Re: [RFC 12/26] ext2 white-out support, Josef Sipek, (Tue Jul 31, 1:11 pm)
Re: [RFC 12/26] ext2 white-out support, Jan Blunck, (Thu Aug 2, 6:26 am)
Re: [RFC 12/26] ext2 white-out support, Dave Kleikamp, (Wed Aug 1, 11:23 am)
Re: [RFC 12/26] ext2 white-out support, Josef Sipek, (Wed Aug 1, 2:44 pm)
Re: [RFC 12/26] ext2 white-out support, Ph. Marek, (Thu Aug 2, 1:24 am)
Re: [RFC 12/26] ext2 white-out support, Jan Blunck, (Thu Aug 2, 8:12 am)
Re: [RFC 12/26] ext2 white-out support, Dave Kleikamp, (Wed Aug 1, 3:10 pm)
Re: [RFC 12/26] ext2 white-out support, Josef Sipek, (Wed Aug 1, 3:33 pm)
Re: [RFC 12/26] ext2 white-out support, Jörn, (Thu Aug 2, 1:50 pm)
Re: [RFC 12/26] ext2 white-out support, Jeremy Maitin-Shepard, (Thu Aug 2, 2:15 pm)
Re: [RFC 12/26] ext2 white-out support, Jan Blunck, (Thu Aug 2, 7:55 am)
Re: [RFC 12/26] ext2 white-out support, Dave Kleikamp, (Wed Aug 1, 3:52 pm)
Re: [RFC 12/26] ext2 white-out support , Erez Zadok, (Wed Aug 1, 6:06 pm)
Re: [RFC 12/26] ext2 white-out support, Jan Blunck, (Thu Aug 2, 8:05 am)
Re: [RFC 12/26] ext2 white-out support, Theodore Tso, (Mon Jul 30, 11:45 pm)
Re: [RFC 12/26] ext2 white-out support, Jan Blunck, (Tue Jul 31, 3:44 am)
Re: [RFC 12/26] ext2 white-out support, Theodore Tso, (Tue Jul 31, 6:53 am)
Re: [RFC 12/26] ext2 white-out support, Pavel Machek, (Thu Aug 2, 3:31 pm)
Re: [RFC 12/26] ext2 white-out support, Andreas Dilger, (Tue Jul 31, 4:32 am)
Re: [RFC 12/26] ext2 white-out support, Jan Blunck, (Tue Jul 31, 5:08 am)