On Fri, May 07, 2010 at 08:54:41PM -0400, Phillip Susi wrote: > Would it be possible to somehow keep the current buffer heads, but > associate them with the inode such that readahead() on the directory > would work? Maybe. Try it and send patches. :-) As I said, it's not high on my priority list and I'm *way* behind on all sorts of other, much higher priority tasks. If you were going to do the patches (which would have all sorts of complications since you'd have to make sure directory pages didn't get written back via the page write cache or via direct reclaim), I wouldn't reject them out of hand since there are a few other advantages of doing things that way.... *However*, I suspect it would be easier for you to simply use the FIEMAP ioctl had deal with directories separately from files..... - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html