freebsd-skq/sys/nfsclient
Robert Watson 6d7f268ad1 rpc.lockd stability workaround: remove PCATCH from the tsleep() in
nfs_lock.c.  Right now, if we permit a signal to interrupt the sleep,
we will slip the lock and no process on that client, the server, or
any other client will be able to acquire the lock.  This can happen,
for example, if a user hits Ctrl-C or Ctrl-T while a process is
waiting for the lock.  By removing PCATCH, we prevent that from
happening, at the cost of not permitting a user-requested lock abort:
also nasty.  However, a user interface bug might be preferable to a
serious semantic bug, so we go with that for now.

We need to teach the rpc.lockd/kernel protocol how to abort lock
requests, and rpc.lockd how to handle aborted lock requests; patches
for the kernel bit are floating around, but no rpc.lockd bit yet.

Approved by:	re (scottl)
2003-05-30 17:15:56 +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 This change grabs the vnode lock for NFS client vnodes when calling 2003-05-15 21:12:08 +00:00
nfs_diskless.c SMP locking for ifnet list. 2002-12-22 05:35:03 +00:00
nfs_lock.c rpc.lockd stability workaround: remove PCATCH from the tsleep() in 2003-05-30 17:15:56 +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 - Merge struct procsig with struct sigacts. 2003-05-13 20:36:02 +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 Deal with the possibility of negative available space from the file server 2003-05-19 22:35:00 +00:00
nfs_vnops.c This change grabs the vnode lock for NFS client vnodes when calling 2003-05-15 21:12:08 +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