Re: NFS locking bug -- limited mtime resolution means nfs_lock() does not provide coherency guarantee

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Sep 12 2000 - 15:30:07 EST


> If we have a purely Linux-specific hack to ensure cache coherency,
> that will still corrupt the cache on those *NIX clients that use
> ordinary cache coherency checking (i.e. checking mtime + file size)
> rather than cache invalidation.

Its what Solaris implements and what SunOS back down to 3.x implements. I
wouldnt be suprised if others do likewise ?

> It also avoids a lot of unnecessary cache flushing. Imagine having to
> reread your entire mailbox every time you open the file whether or not
> a new message has arrived. Ugh...

Interesting point.

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



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:18 EST