Re: [RFC] Union mount readdir support in glibc

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bharata B Rao
Date: Tuesday, March 11, 2008 - 5:49 am

On Tue, Mar 11, 2008 at 01:09:29AM -0700, Roland McGrath wrote:

In the approach we are suggesting, at the minimum, glibc readdir would
have to maintain a unified cache of dirents with the knowlege of
whiteouts (DT_WHT). Would that be too much ?


Not really. In Union Mount, most of the unification support is done at
VFS layer with some support from filesystems (for things like
whiteouts). It is Unionfs which implements a new filesystem to achieve
unification. Unification is not purely a kernel filesystem's problem, it
involves both VFS and FS.


AFAIK, even BSD implements duplicate elimination and whiteout
suppression in the userland.

Thanks for your comments.

Regards,
Bharata.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] Union mount readdir support in glibc, Bharata B Rao, (Mon Mar 10, 10:55 pm)
Re: [RFC] Union mount readdir support in glibc, Roland McGrath, (Tue Mar 11, 1:09 am)
Re: [RFC] Union mount readdir support in glibc, Bharata B Rao, (Tue Mar 11, 5:49 am)
Re: [RFC] Union mount readdir support in glibc, Bharata B Rao, (Tue Mar 11, 9:28 pm)
Re: [RFC] Union mount readdir support in glibc, Ulrich Drepper, (Thu Mar 13, 8:53 pm)
Re: [RFC] Union mount readdir support in glibc, Al Viro, (Thu Mar 13, 10:39 pm)
Re: [RFC] Union mount readdir support in glibc, Ulrich Drepper, (Fri Mar 14, 12:13 am)
Re: [RFC] Union mount readdir support in glibc, Miklos Szeredi, (Fri Mar 14, 1:41 am)
Re: [RFC] Union mount readdir support in glibc, Jan Blunck, (Fri Mar 14, 8:07 am)
Re: [RFC] Union mount readdir support in glibc, Peter Staubach, (Fri Mar 14, 10:53 am)
Re: [RFC] Union mount readdir support in glibc, Miklos Szeredi, (Fri Mar 14, 1:51 pm)
Re: [RFC] Union mount readdir support in glibc, Trond Myklebust, (Fri Mar 14, 1:58 pm)