freebsd-skq/sys/nfsclient
iedowse 64322dabea The recent NFS forced unmount improvements introduced a side-effect
where some client operations might be unexpectedly cancelled during
an unsuccessful non-forced unmount attempt. This causes problems
for amd(8), because it periodically attempts a non-forced unmount
to check if the filesystem is still in use.

Fix this by adding a new mountpoint flag MNTK_UNMOUNTF that is set
only during the operation of a forced unmount. Use this instead of
MNTK_UNMOUNT to trigger the cancellation of hung NFS operations.

Also correct a problem where dounmount() might inadvertently clear
the MNTK_UNMOUNT flag.

Reported by:	simokawa
MFC after:	1 week
2002-04-17 01:07:29 +00:00
..
bootp_subr.c Add a readonly sysctl variable of type string, kern.bootp_cookie, 2002-03-13 09:23:11 +00:00
krpc_subr.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
krpc.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00
nfs_bio.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
nfs_lock.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
nfs_lock.h o Modify nfslockdans() to accept a thread reference instead of a proc 2001-11-14 18:20:45 +00:00
nfs_nfsiod.c Revise the nfsiod auto tuning code. Now both the upper and lower limits 2002-01-15 20:57:21 +00:00
nfs_node.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 10:07:52 +00:00
nfs_socket.c The recent NFS forced unmount improvements introduced a side-effect 2002-04-17 01:07:29 +00:00
nfs_subs.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 10:07:52 +00:00
nfs_vfsops.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 10:07:52 +00:00
nfs_vnops.c vhold() our vnode while checking the remote side. 2002-03-08 13:43:43 +00:00
nfs.h Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 10:07:52 +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 Fix warnings.. bootpc_init() and related. 2002-02-28 03:07:35 +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 o Make the credential used by socreate() an explicit argument to 2001-12-31 17:45:16 +00:00
nfsnode.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +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