Directory lookups following readdir(), and quite possibly following
other lookups, would be faster if filesystems had the option of creating
"dentry without inode", such that lookup would do iget() on them.
It only makes sense for filesystems where readdir() produces a key that
it useful for a subsequent iget().
I know there was some work on caching the pointer within a directory for
lookup, and that B-trees will arrive for ext2 eventually. But neither
of those can get the same performance as caching inode numbers, when
seek times dominate inode read performance.
-- Jamie
-
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/