lkml.org 
[lkml]   [2007]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] nfs: init req_lock in nfs_alloc_inode
    From
    On Tue, Feb 20, 2007 at 07:37:18PM -0500, Trond Myklebust wrote:

    > Looks like we need a check in nfs_getattr() for a regular file. It makes
    > no sense to call nfs_sync_mapping_range() on anything else. I think that
    > should fix your problem: it will stop the NFS client from interfering
    > with dirty pages on that inode's mapping.

    Yep, that works here. I also verified that my previous patch really
    didn't change the behaviour. I wonder why it did once. Probably just
    pure luck with memory contents.

    > From: Trond Myklebust <Trond.Myklebust@netapp.com>
    > Date: Tue, 20 Feb 2007 19:28:07 -0500
    > Subject: No Subject
    >
    > Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

    Acked-by: Olof Johansson <olof@lixom.net>


    -Olof
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-02-22 21:05    [W:0.021 / U:31.580 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site