Re: [PATCH] for lost mail due to NFS cache/locking non-atomicity

Linus Torvalds (torvalds@transmeta.com)
Tue, 1 Dec 1998 11:23:29 -0800 (PST)


On Tue, 1 Dec 1998, Alan Cox wrote:
>
> I'd agree with the basic diagnosis. For reference SunOS switches to synchronous
> I/O for any NFS file with locks held on it.

I have an alternate patch, which is in my current tree. It just always
writes back everything whenever some lock is changed (not just for
unlock), and always invalidates the caches.

I'm making a pre-2.1.131-2 patch right now, if Jamie can test that it
works for all his cases too that would be good.

Linus

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