Re: [PATCH] nfs: init req_lock in nfs_alloc_inode
From: Olof Johansson
Date: Thu Feb 22 2007 - 15:03:27 EST
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@xxxxxxxxxx>
> Date: Tue, 20 Feb 2007 19:28:07 -0500
> Subject: No Subject
>
> Signed-off-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>
Acked-by: Olof Johansson <olof@xxxxxxxxx>
-Olof
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/