Re: Does "32.1% non-contiguous" mean severely fragmented?

2007-10-20 Thread Theodore Tso
On Sat, Oct 20, 2007 at 12:39:33PM +0900, Tetsuo Handa wrote: > Theodore Tso wrote: > > beginning of every single block group. You have a small number of > > files on your system (349) occupying an average of 348 megabytes. So > > it's not at all surprising that the contiguous percentage is 32%.

[RFC 2/2] i_op->readdir: Change libfs users to the new interface

2007-10-20 Thread Jan Blunck
This patch changes dcache_readdir() to the new inode operations readdir interface. Hence all the users of libfs.c are changed to use the new interface too. Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> --- fs/autofs4/autofs_i.h |5 ++--- fs/autofs4/root.c | 41 --

[RFC 1/2] i_op->readdir: Change readdir() to be an inode operation

2007-10-20 Thread Jan Blunck
This patch adds a new readdir() inode operation. The purpose of this patch is to enable the VFS to support directory reading on a stack of directories. The new interface isn't passing the struct file to the filesystem implementation anymore. Normally the filesystem implementation shouldn't depend o

[RFC 0/2] readdir() as an inode operation

2007-10-20 Thread Jan Blunck
This is a first try to move readdir() to become an inode operation. This is necessary for a VFS implementation of "something like union-mounts" where a readdir() needs to read the directory contents of multiple directories. Besides that the new interface is no longer giving the struct file to the f