From owner-cvs-src@FreeBSD.ORG Wed Mar 26 14:50:21 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48D4837B404; Wed, 26 Mar 2003 14:50:21 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-150.dsl.lsan03.pacbell.net [63.207.60.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDFE143F75; Wed, 26 Mar 2003 14:50:19 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 8D20C66E05; Wed, 26 Mar 2003 14:50:19 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 6AFF3128E; Wed, 26 Mar 2003 14:50:19 -0800 (PST) Date: Wed, 26 Mar 2003 14:50:19 -0800 From: Kris Kennaway To: Robert Watson Message-ID: <20030326225019.GA11327@rot13.obsecurity.org> References: <200303261921.h2QJLYhs039438@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <200303261921.h2QJLYhs039438@repoman.freebsd.org> User-Agent: Mutt/1.4i X-Spam-Status: No, hits=-36.9 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/nfsclient nfs_lock.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 22:50:24 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 26, 2003 at 11:21:34AM -0800, Robert Watson wrote: > rwatson 2003/03/26 11:21:34 PST >=20 > FreeBSD src repository >=20 > Modified files: > sys/nfsclient nfs_lock.c=20 > Log: > Add O_NONBLOCK to the vn_open_cred() flags for NFS client locking when > opening the POSIX fifo; convert ENXIO error returns to EOPNOTSUPP. > =20 > This improves handling of the case where the /var/run/lock fifo exists > but there is no listener: we immediately return EOPNOTSUPP rather > than blocking until a listener turns up. This could occur during a > diskless boot before rpc.lockd is loaded, or if the lock file persists > across a reboot following the disabling of rpc.lockd. This may have > suddenly started to occur due to fifo blocking fixes--previously it > looks like attempts to read on a fifo with no listener would time out > due to insufficient resources. Thanks, this sounds like it may fix non-blocking calls to open() on a NFS file, which would previously block. Kris --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+gi6rWry0BWjoQKURAigYAJ9c6RyU3KiWDa1wPtPBBPpHkNYvWwCgoj8W UCiZjYgHyTBd6KX2IRj+FN0= =CPdR -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--