linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Steven Whitehouse <steve@chygwyn.com>
Cc: "Jörn Engel" <joern@logfs.org>,
	"Chris Mason" <chris.mason@oracle.com>,
	"David Chinner" <dgc@sgi.com>, "Nick Piggin" <npiggin@suse.de>,
	"Rik van Riel" <riel@redhat.com>,
	"Zach Brown" <zach.brown@oracle.com>,
	"Anton Altaparmakov" <aia21@cam.ac.uk>,
	"Suparna Bhattacharya" <suparna@in.ibm.com>,
	"Christoph Hellwig" <hch@infradead.org>,
	"Hugh Dickins" <hugh@veritas.com>,
	"Jared Hulbert" <jaredeh@gmail.com>,
	"Martin J. Bligh" <mbligh@mbligh.org>,
	"Trond Myklebust" <trond.myklebust@fys.uio.no>,
	"Miklos Szeredi" <miklos@szeredi.hu>,
	"Mingming Cao" <cmm@us.ibm.com>,
	"Linux Memory Management List" <linux-mm@kvack.org>,
	linux-fsdevel@vger.kernel.org,
	"Evgeniy Polyakov" <johnpol@2ka.mipt.ru>,
	"Dave McCracken" <dave.mccracken@oracle.com>,
	"Peter Zijlstra" <peterz@infradead.org>
Subject: Re: vm/fs meetup details
Date: Sat, 7 Jul 2007 09:47:11 +1000	[thread overview]
Message-ID: <18062.54399.299212.286138@notabene.brown> (raw)
In-Reply-To: message from Steven Whitehouse on Friday July 6

On Friday July 6, steve@chygwyn.com wrote:
> Hi,
> 
> On Fri, Jul 06, 2007 at 05:57:49PM +0200, Jörn Engel wrote:
...
> > 
> > Interesting idea.  Is it possible to attach several address spaces to an
> > inode?  That would cure some headaches.
> >
> GFS2 already uses something like this, in fact by having a second inode
> to contain the second address space. Thats a bit of a hack but we can't
...
> 
> So that would certainly be an issue that I'd like to discuss to see
> what can be worked out in that area,
> 
> Steve.

Maybe the question here is:

  What support should common code provide for caching indexing
  metadata?

Common code already provides the page cache that is very nice for
caching file data.
Some filesystems use the blockdev page cache to cache index metadata
by physical address.  But I think that increasingly filesystems want
to cache index metadata by some sort of virtual address.
A second page cache address space would be suitable if the addresses
were dense, and would be acceptable if the blocks were page-sized (or
larger).  But for non-dense, non-page-sized blocks, a radix tree of
pages is less than ideal (I think).

My filesystem (LaFS, which is actually beginning to work thanks to
Novell's HackWeek) uses non-dense, non-page-sized blocks both for file
indexing and for directories and while I have a working solution for
each case, there is room for improvements that might fit well with
other filesystems too.

NeilBrown
-
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

  reply	other threads:[~2007-07-06 23:48 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05  4:01 vm/fs meetup details Nick Piggin
2007-07-05 14:32 ` Peter Zijlstra
2007-07-05 17:54 ` Rik van Riel
2007-07-05 20:40   ` Zach Brown
2007-07-05 21:27     ` David Chinner
2007-07-05 21:40       ` Rik van Riel
2007-07-06  2:26         ` Nick Piggin
2007-07-06 10:01           ` David Chinner
2007-07-06 10:26             ` Jörn Engel
2007-07-06 13:42               ` David Chinner
2007-07-06 13:52                 ` Chris Mason
2007-07-06 15:57                   ` Jörn Engel
2007-07-06 15:58                     ` Steven Whitehouse
2007-07-06 23:47                       ` Neil Brown [this message]
2007-07-06  2:00   ` Nick Piggin
2007-07-06 20:40     ` Christoph Lameter
2007-07-07 10:45       ` Jörn Engel
2007-07-08 23:29         ` David Chinner
2007-07-09  0:27           ` Jörn Engel
2007-07-09 15:53             ` Martin Bligh
2007-07-27 14:30 ` Dave Kleikamp

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=18062.54399.299212.286138@notabene.brown \
    --to=neilb@suse.de \
    --cc=aia21@cam.ac.uk \
    --cc=chris.mason@oracle.com \
    --cc=cmm@us.ibm.com \
    --cc=dave.mccracken@oracle.com \
    --cc=dgc@sgi.com \
    --cc=hch@infradead.org \
    --cc=hugh@veritas.com \
    --cc=jaredeh@gmail.com \
    --cc=joern@logfs.org \
    --cc=johnpol@2ka.mipt.ru \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mbligh@mbligh.org \
    --cc=miklos@szeredi.hu \
    --cc=npiggin@suse.de \
    --cc=peterz@infradead.org \
    --cc=riel@redhat.com \
    --cc=steve@chygwyn.com \
    --cc=suparna@in.ibm.com \
    --cc=trond.myklebust@fys.uio.no \
    --cc=zach.brown@oracle.com \
    /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;
as well as URLs for NNTP newsgroup(s).