Let me be careful here, are you saying then that you got a 2x speedup
by not changing where it was stored and only changing where it was returned,
and thereby reducing syscall overhead?
Hans
Jamie Lokier wrote:
> The file type is already stored in the directory for all filesystems
> that say "FULL SUPPORT".
>
> The patch changes where it is returned -- by not having to call stat(),
> the inode is not read from disk. As a bonus you reduce inode cache
> thrashing.
>
> For filesystems that store the inode in the directory itself, there is
> no saving in I/O.
> You may as well return the type info anyway because
> it reduces kernel inode cache thrashing and reduces the number of
> syscalls.
>
> enjoy,
> -- Jamie
-- You can get ReiserFS at http://devlinux.org/namesys, and customizations and industrial grade support at reiser@idiom.com.- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:20 EST