login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Josef Sipek <jsipek@...>
Cc: Jan Blunck <jblunck@...>, <linux-fsdevel@...>, <linux-kernel@...>, Bharata B Rao <bharata@...>
Date: Tuesday, July 31, 2007 - 1:03 pm

> Really the only sane way of keeping track of whiteouts seems some external

What about keeping track of whiteouts in a special file (or files) in the top 
level filesystem of the union?  For instance, having a /.whiteouts file at 
the root of the top FS in the stack, instead of storing union-specific data 
in the flags / inode numbers of the lower levels.

This file could also e.g. store the UUID of the lower level FS (if 
appropriate) so that in subsequent mounts (which might attempt a union with a 
different lower level branch) you can tell if the whiteouts have meaning.  
The whiteout history could be flushed by directly mounting the FS and doing 
rm .whiteouts.

This might avoid requiring a store external to the stack of filesystems and I 
believe it would solve the problem with shared branches and arbitrary 
stacking that you described?

I guess a rather similar effect could be had by somehow storing loopback 
mountable ODF filesystems in the top layer of a union somewhere (e.g. with 
the default path /.odf) and allowing the user to specify an alternate 
location at mount time if necessary.  So maybe these approaches are quite 
similar after all...

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!
-
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:
[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, 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)
speck-geostationary