[lkml]   [2003]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: statfs() / statvfs() syscall ballsup...
On Fri, Oct 10, 2003 at 11:05:35AM -0700, Joel Becker wrote:

> The problem we have with msync() and friends is not 'quick
> population', it's "page is in the page cache already; another node
> writes to the storage; must mark page as !uptodate so as to force a
> re-read from disk". I can't find where sys_readahead() checks for
> uptodate, so perhaps calling sys_readahead() on a range always causes
> I/O. Correct me if I missed it.

Wouldn't this be solvable by giving userspace a way of invalidating
a range of mmapped pages? I.e. a "minvalidate();" to use when
the other node tells you it is about to write?

This will cause the pages to be paged in again on next reference,
or you can issue a read in advance if you believe you'll need them.

Helge Hafting
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:49    [W:0.180 / U:1.488 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site