freebsd-skq/sys/nfsclient
Robert Watson 847b14bd3c Add O_NONBLOCK to the vn_open_cred() flags for NFS client locking when
opening the POSIX fifo; convert ENXIO error returns to EOPNOTSUPP.

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.

Reviewed by:	alfred
2003-03-26 19:21:34 +00:00
..
bootp_subr.c
krpc_subr.c
krpc.h
nfs_bio.c
nfs_diskless.c
nfs_lock.c Add O_NONBLOCK to the vn_open_cred() flags for NFS client locking when 2003-03-26 19:21:34 +00:00
nfs_lock.h
nfs_nfsiod.c
nfs_node.c
nfs_socket.c req can not be NULL or we'd die. 2003-03-26 01:46:11 +00:00
nfs_subs.c
nfs_vfsops.c
nfs_vnops.c Map VAPPEND to VWRITE in nfsspec_access() - VAPPEND is never set in the 2003-03-21 05:13:23 +00:00
nfs.h
nfsargs.h
nfsdiskless.h
nfsm_subs.h
nfsmount.h
nfsnode.h
nfsstats.h
nlminfo.h