Subject: NFS locking (was Re: vnode changes & 1.4E)
To: None <current-users@netbsd.org>
From: Aaron J. Grier <agrier@poofy.goof.com>
List: current-users
Date: 07/08/1999 23:22:38
On Thu, Jul 08, 1999 at 07:19:19PM -0500, John C. Hayward wrote:

> The discussion of locking is found in: the pine distribution
> "pine home"/imap/docs/locking.txt

I actually pulled this up to see what all the fuss was about...  It was
written in 1995, and I'm sure things have changed since then.

There are a number of points raised in the paper, but it never says that
it's flat-out fundamentally broken:

	"For all of the hairy code to do individual section locking of
	a file, it's clear that the designers of fcntl() locking never
	considered some very basic locking operations.	It's as if all
	they knew about locking they got out of some CS textbook with
	not investigation of real-world needs."

and then Mark Crispin goes on to whine about some of the caveats of
using fcntl.

It's as if Mark Crispin wants to scare everybody into using IMAP to
access their mail instead of NFS.

----
  Aaron J. Grier  | "Not your ordinary poofy goof." | agrier@poofy.goof.com
   "I really admire your perverse mastery of the SPARC branch delay slot,
      Dave.  Or is it your mastery of the perverse branch delay slot?"
	          -- Joe Martin to Dave S. Miller on linux-kernel