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 Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
krpc_subr.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
krpc.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00
nfs_bio.c - Add a new 'flags' parameter to getblk(). 2003-03-04 00:04:44 +00:00
nfs_diskless.c SMP locking for ifnet list. 2002-12-22 05:35:03 +00:00
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 Remove a case of exposing 'struct ucred' to userspace. Use a struct xucred 2002-08-15 21:52:22 +00:00
nfs_nfsiod.c More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9). 2003-03-02 16:54:40 +00:00
nfs_node.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
nfs_socket.c req can not be NULL or we'd die. 2003-03-26 01:46:11 +00:00
nfs_subs.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
nfs_vfsops.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
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 Remove extern declarations of stuff which is static in nfs_node.c 2002-10-20 21:40:55 +00:00
nfsargs.h Allow users to use the 'nolockd' or -L options with mount_nfs in order 2001-11-12 02:33:52 +00:00
nfsdiskless.h Moved nfs_diskless setup code from autoconf.c to nfsclient/nfs_diskless.c 2002-09-22 00:59:02 +00:00
nfsm_subs.h Avoid passing the variable `tl' to functions that just use it for 2001-12-18 01:22:09 +00:00
nfsmount.h Now that we have a cached mount credential in struct mount, use it istead 2002-09-08 15:11:18 +00:00
nfsnode.h Remove the nfs_{lock,unlock,islocked} functions and the associated 2002-04-27 22:10:16 +00:00
nfsstats.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00
nlminfo.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00