Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 14:50:19 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/nfsclient nfs_lock.c
Message-ID:  <20030326225019.GA11327@rot13.obsecurity.org>
In-Reply-To: <200303261921.h2QJLYhs039438@repoman.freebsd.org>
References:  <200303261921.h2QJLYhs039438@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030326225019.GA11327>