This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC PATCH 0/2] Union Mount: Directory listing in glibc
- From: hooanon05 at yahoo dot co dot jp
- To: Erez Zadok <ezk at cs dot sunysb dot edu>
- Cc: "NAGABHUSHAN BS" <bsn dot 0007 at gmail dot com>, libc-alpha at sourceware dot org, "Jan Blunck" <jblunck at suse dot de>, linux-kernel at vger dot kernel dot org, linux-fsdevel at vger dot kernel dot org, viro at zeniv dot linux dot org dot uk, "Christoph Hellwig" <hch at lst dot de>, "Ulrich Drepper" <drepper at redhat dot com>, "Mingming Cao" <cmm at us dot ibm dot com>, "Dave Hansen" <haveblue at us dot ibm dot com>, "Trond Myklebust" <trond dot myklebust at fys dot uio dot no>, bharata at linux dot vnet dot ibm dot com, "David Woodhouse" <dwmw2 at infradead dot org>
- Date: Thu, 01 May 2008 10:39:14 +0900
- Subject: Re: [RFC PATCH 0/2] Union Mount: Directory listing in glibc
- References: Your message of "Wed, 30 Apr 2008 11:37:10 +0530." <c810d5090804292307y2884b169t5c27b50fb7c94c30@mail.gmail.com> <200804301635.m3UGZ7gn006259@agora.fsl.cs.sunysb.edu>
Erez Zadok:
> Here's one idea:
>
> 1. Your main data structure is a linear array of struct dirents. You
:::
All these points are very similar to the actual implementation in AUFS,
except 'Optimization 2: decide memory size by stat().'
- the size may not be enough for storing every dirent, it depends upon
the filesystem's implementation.
- the size may be a block size which can be larger than page size even
if it is a empty dir, also it depends upon the filesystem.
Junjiro Okajima