From: "NAGABHUSHAN BS" <bsn.0007@gmail.com>
To: "Erez Zadok" <ezk@cs.sunysb.edu>
Cc: libc-alpha@sourceware.org, "Jan Blunck" <jblunck@suse.de>,
linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
viro@zeniv.linux.org.uk, "Christoph Hellwig" <hch@lst.de>,
"Ulrich Drepper" <drepper@redhat.com>,
"Mingming Cao" <cmm@us.ibm.com>,
"Dave Hansen" <haveblue@us.ibm.com>,
"Trond Myklebust" <trond.myklebust@fys.uio.no>,
bharata@linux.vnet.ibm.com,
"David Woodhouse" <dwmw2@infradead.org>
Subject: Re: [RFC PATCH 0/2] Union Mount: Directory listing in glibc
Date: Wed, 30 Apr 2008 11:37:10 +0530 [thread overview]
Message-ID: <c810d5090804292307y2884b169t5c27b50fb7c94c30@mail.gmail.com> (raw)
In-Reply-To: <200804291549.m3TFnb3H024733@agora.fsl.cs.sunysb.edu>
On Tue, Apr 29, 2008 at 9:19 PM, Erez Zadok <ezk@cs.sunysb.edu> wrote:
> In message <20080429133201.GA9938@localhost.localdomain>, bsn.0007@gmail.com writes:
> > Hi,
> >
> > I went through Bharata's RFC post on glibc based Union Mount readdir solution
> > (http://lkml.org/lkml/2008/3/11/34) and have come up with patches
> > against glibc to implement the same.
> [...]
>
> The last set of discussions on glibc support ended, as I understood it, with
> the glibc people objecting to such "special-purpose" code in glibc. See
> <http://lkml.org/lkml/2008/3/11/66>. So has anything changed behind the
> scenes, or is this idea unlikely to be merged into glibc any time soon, if
> ever. (Personally I'd love to rip out the readdir-related code from unionfs
> if glibc supported the same.)
>
>
> > Patch 1. readdir support for union mounted directories.
> > I am caching the dirent names in a list to aid duplicate elimination.
> > And this cache is stored in DIRP. For duplicate elimination I am using
> > strcmp(). I am not sure if this works universally with different types
> > of filesystems. Any suggestions here would be welcome.
> [...]
>
> You might consider using a hash table instead of a list; it'll be faster in
> case where there are a lot of whiteouts/duplicates to process.
>
Yes, hash table was one of the things i had considered to use as a
cache. But i am not completely sure how this would support seekdir.
Any suggestions are greatly welcome.
Regards Nagabhushan
next prev parent reply other threads:[~2008-04-30 6:07 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-29 13:32 bsn.0007
2008-04-29 13:33 ` [RFC PATCH 1/2] Union Mount: glibc readdir support bsn.0007
2008-05-01 6:08 ` Ulrich Drepper
2008-05-06 4:21 ` Bharata B Rao
2008-05-06 5:46 ` hooanon05
2008-05-06 13:10 ` David Newall
2008-05-12 3:43 ` Bharata B Rao
2008-05-12 3:49 ` Erez Zadok
2008-05-09 20:05 ` Erez Zadok
2008-04-29 13:34 ` [RFC PATCH 2/2] Union Mount: glibc seekdir support bsn.0007
2008-04-29 15:21 ` [RFC PATCH 0/2] Union Mount: Directory listing in glibc hooanon05
2008-04-29 16:12 ` Jan Blunck
2008-04-29 15:49 ` Erez Zadok
2008-04-29 16:16 ` Jan Blunck
2008-04-30 6:07 ` NAGABHUSHAN BS [this message]
2008-04-30 16:35 ` Erez Zadok
2008-05-01 1:39 ` hooanon05
2008-04-29 16:04 ` Jan Blunck
2008-04-30 6:18 ` NAGABHUSHAN BS
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c810d5090804292307y2884b169t5c27b50fb7c94c30@mail.gmail.com \
--to=bsn.0007@gmail.com \
--cc=bharata@linux.vnet.ibm.com \
--cc=cmm@us.ibm.com \
--cc=drepper@redhat.com \
--cc=dwmw2@infradead.org \
--cc=ezk@cs.sunysb.edu \
--cc=haveblue@us.ibm.com \
--cc=hch@lst.de \
--cc=jblunck@suse.de \
--cc=libc-alpha@sourceware.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=trond.myklebust@fys.uio.no \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®