[lkml]   [2010]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [GIT PULL] Please pull NFS client bugfixes....
    On Thu, Jan 07, 2010 at 04:23:22PM -0500, Peter Staubach wrote:
    > It seems to me that NFS must do some sort of validation at
    > this point. This is one of the last points where the NFS
    > client can do validation for mmap'd files.

    Typically there is a open directly before it. open seems
    like a much more natural point to synchronize than mmap.

    Also so far nobody could point me to a standard text or similar
    who said mmap needs synchronization, just some vague beliefs.

    And the fact is right now with the current Linux VFS and
    NFS locking mmap can't do it reliably.

    > I think that the file system must have a way to do validation
    > and page invalidation during mmap. Perhaps we can reorder
    > things or add another entry point which is invoked after the
    > page mapping is set up which would give the file system to
    > check to ensure that the page cache is filled with valid data.

    If someone has a better patch feel free to post it, but ignoring
    the problem like it has been done so far doesn't fly.

    I know that my patch works for me at least.


     \ /
      Last update: 2010-01-07 22:37    [W:0.038 / U:17.048 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site