[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061026152522.GA12596@wohnheim.fh-wedel.de>
Date: Thu, 26 Oct 2006 17:25:22 +0200
From: Jörn Engel <joern@...nheim.fh-wedel.de>
To: Jeff Garzik <jeff@...zik.org>
Cc: Jan Kara <jack@...e.cz>, adilger@...sterfs.com,
Theodore Tso <tytso@....edu>, linux-fsdevel@...r.kernel.org,
linux-ext4@...r.kernel.org
Subject: Re: [RFC] Ext3 online defrag
On Wed, 25 October 2006 14:41:18 -0400, Jeff Garzik wrote:
> On Wed, Oct 25, 2006 at 08:36:56PM +0200, Jan Kara wrote:
> > Yes, but there's a question of the interface to this operation. How to
> > specify which indirect block I mean? Obviously we could introduce
> > separate call for remapping indirect blocks but I find this solution
> > kind of clumsy...
>
> Agreed... that gets nasty real quick.
Logfs has a similar problem and I introduced a "level". Without going
into all the gory details, data blocks reside on level 0, indirect
blocks on level 1, doubly indirect blocks on level 2, etc. With this,
the tupel of (ino, pos, level) can specify any block on the
filesystem, provided it is used for some inode.
Logfs needs this for Garbage Collection, which is a fairly similar
problem.
Jörn
--
Joern's library part 3:
http://inst.eecs.berkeley.edu/~cs152/fa05/handouts/clark-test.pdf
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists