lkml.org 
[lkml]   [2010]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: unified page and buffer cache?
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


\
 
 \ /
  Last update: 2010-05-08 14:55    [W:0.068 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site