From owner-freebsd-current Sat Feb 14 17:39:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA29150 for freebsd-current-outgoing; Sat, 14 Feb 1998 17:39:13 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA29128 for ; Sat, 14 Feb 1998 17:39:05 -0800 (PST) (envelope-from tlambert@usr09.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id SAA16244; Sat, 14 Feb 1998 18:27:28 -0700 (MST) Received: from usr09.primenet.com(206.165.6.209) via SMTP by smtp02.primenet.com, id smtpd014413; Sat Feb 14 18:17:18 1998 Received: (from tlambert@localhost) by usr09.primenet.com (8.8.5/8.8.5) id SAA27759; Sat, 14 Feb 1998 18:17:14 -0700 (MST) From: Terry Lambert Message-Id: <199802150117.SAA27759@usr09.primenet.com> Subject: NFS CLIENT/SERVER LOCKING PATCHES NOW WORKING To: tech-kern@netbsd.org, kern@openbsd.org, current@FreeBSD.ORG Date: Sun, 15 Feb 1998 01:17:13 +0000 (GMT) Cc: terry@lambert.org X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The warning on the NFS kernel patches for NFS client and server locking has been removed, thanks to some dilligent tracing on the part of Chris Csanady. With these patches, modifications to the rpc.lockd, addition of an F_NONPOSIX fcntl to get rid of the clear-on-close behavior, and use of F_CNVT patches appropriate for whatever the wire format is to interface to VOP_FHTOVP, NFS server locking should be completely functional. NFS client locking requires that the non-veto nfs_advlock() function attempt to proxy the lock via RPC to the remote system, and if it fails, should veto the request. Note: I have not done anything to deal with blocking NFS lock requests; IMO, that code belongs in the rpc.lockd. The F_RSETLKW is specifically for support of a threaded implementation for proxied blocking locks. 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-current" in the body of the message