From owner-freebsd-arch Wed May 17 10:23:33 2000 Delivered-To: freebsd-arch@freebsd.org Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (Postfix) with ESMTP id 111FB37B5A2 for ; Wed, 17 May 2000 10:23:27 -0700 (PDT) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.9.3/8.9.3) id KAA06361; Wed, 17 May 2000 10:23:03 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp03.primenet.com, id smtpdAAAN3aqum; Wed May 17 10:22:52 2000 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id KAA05756; Wed, 17 May 2000 10:23:04 -0700 (MST) From: Terry Lambert Message-Id: <200005171723.KAA05756@usr05.primenet.com> Subject: Re: interface ideas for async locks? To: bright@wintelcom.net (Alfred Perlstein) Date: Wed, 17 May 2000 17:23:03 +0000 (GMT) Cc: arch@FreeBSD.ORG In-Reply-To: from "Alfred Perlstein" at Dec 21, 1999 04:41:33 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I've gotten started on making async fcntl locks possible, the trick is > giving preference to async locks and having lock reservations put up > by the process that 'unblocks' the async lock. > > Anyhow, the reason for this mail is to get an idea of what type of > interface people would like for this feature. I would like to see it mirror the opportunity locking interface that SAMBA currently expects. This is similar to the NFSv3 LEASE idea. It is important to support opportunity locks; not for performance reasons, but because SAMBA is effectively a user space hosted OS, and this type of interface is necessary for supporting hosted OS vs. hosting OS coherency. In plain English, this means that SAMBA will respect locks held by UNIX applications, and vice versa. You might as well get SAMBA (and IRIX, and soon to be Linux) compatability with this interface for free. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message