freebsd-skq/sys
Rick Macklem 8fe6bddff7 Forced dismounts of NFS mounts can fail when thread(s) are stuck
waiting for an RPC reply from the server while holding the mount
point busy (mnt_lockref incremented). This happens because dounmount()
msleep()s waiting for mnt_lockref to become 0, before calling
VFS_UNMOUNT(). This patch adds a new VFS operation called VFS_PURGE(),
which the NFS client implements as purging RPCs in progress. Making
this call before checking mnt_lockref fixes the problem, by ensuring
that the VOP_xxx() calls will fail and unbusy the mount point.

Reported by:	sbruno
Reviewed by:	kib
MFC after:	2 weeks
2013-09-01 23:02:59 +00:00
..
amd64 Fix two build failures for non-tb configurations, UP [2] and when using gas [1]. 2013-08-31 19:13:21 +00:00
arm Initial support for the Digi ConnectCore(c) i.MX53 / Wi-i.MX53 boards. 2013-09-01 20:15:35 +00:00
boot Initial support for the Digi ConnectCore(c) i.MX53 / Wi-i.MX53 boards. 2013-09-01 20:15:35 +00:00
bsm Implement chflagsat(2) system call, similar to fchmodat(2), but operates on 2013-03-21 22:59:01 +00:00
cam Add debug trace points for freeze/release device queue. 2013-09-01 17:37:19 +00:00
cddl Fixes for DTrace on PowerPC: 2013-08-31 16:30:20 +00:00
compat Add the ability to display the default FIB number for a process to the 2013-08-26 23:48:21 +00:00
conf Introduce a new, HVM compatible, paravirtualized timer driver for Xen. 2013-08-29 23:11:58 +00:00
contrib Add firmware for Centrino 2200-N wireless devices. 2013-08-28 15:12:51 +00:00
crypto Fix const propagation issues to make GCC happy. 2013-07-11 16:27:11 +00:00
ddb Small textdump enhancements. 2012-11-01 04:07:08 +00:00
dev Complete r250105. Do not zero fields if M_ZERO flag is specified to 2013-09-01 21:44:43 +00:00
fs Forced dismounts of NFS mounts can fail when thread(s) are stuck 2013-09-01 23:02:59 +00:00
gdb rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST 2013-07-24 09:45:31 +00:00
geom MFprojects/camlock r254895: 2013-08-26 20:39:02 +00:00
gnu/fs/reiserfs Garbage collect XFS bits which are now already completely disconnected 2013-03-02 15:33:54 +00:00
i386 Introduce a new, HVM compatible, paravirtualized timer driver for Xen. 2013-08-29 23:11:58 +00:00
ia64 Significantly reduce the cost, i.e., run time, of calls to madvise(..., 2013-08-29 15:49:05 +00:00
isa - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
kern Forced dismounts of NFS mounts can fail when thread(s) are stuck 2013-09-01 23:02:59 +00:00
kgssapi Add support for host-based (Kerberos 5 service principal) initiator 2013-07-09 01:05:28 +00:00
libkern Fix watchdog pretimeout. 2013-07-27 20:47:01 +00:00
mips pmap_protect() on MIPS does not need to acquire the pvh global lock. 2013-09-01 17:06:14 +00:00
modules Import multiqueue VirtIO net driver from my user/bryanv/vtnetmq branch 2013-09-01 04:33:47 +00:00
net Convert the if_lagg rwlock to an rmlock. 2013-08-29 19:35:14 +00:00
net80211 Create a new function to complete 802.11 mbuf transmission. 2013-08-27 14:37:13 +00:00
netatalk Add const qualifier to the dst parameter of the ifnet if_output method. 2013-04-26 12:50:32 +00:00
netgraph Add support for the BCM20702A0 chipset, ASUS USB-BT400. 2013-09-01 19:27:32 +00:00
netinet Merge r254336 from user/np/cxl_tuning. 2013-08-28 23:00:34 +00:00
netinet6 Remove most of the remaining sysctl name list macros. They were only 2013-08-26 18:16:05 +00:00
netipsec Remove most of the remaining sysctl name list macros. They were only 2013-08-26 18:16:05 +00:00
netipx Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netnatm Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netpfil Make dummynet use new direct callout(9) execution mechanism. Since the only 2013-08-24 13:34:36 +00:00
netsmb Remove a reference to LK_DRAIN now that lockmgr(9) is gone from this 2013-06-28 20:21:13 +00:00
nfs Changes to allow using BOOTP_NFSROOT and mounting an nfs root filesystem 2013-07-31 19:14:00 +00:00
nfsclient A problem with the old NFS client where large writes to large files 2013-07-04 00:54:23 +00:00
nfsserver - Convert the bufobj lock to rwlock. 2013-05-31 00:43:41 +00:00
nlm Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
ofed Change m->pkthdr.header to m->pkthdr.PH_loc.ptr after r254804 2013-08-25 09:45:26 +00:00
opencrypto Make sendfile() a method in the struct fileops. Currently only 2013-08-15 07:54:31 +00:00
pc98 MFi386: r254619 2013-08-22 16:39:59 +00:00
pci Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
powerpc Only add the backlight device if it actually exists in OF. 2013-08-31 16:31:48 +00:00
rpc Add support for host-based (Kerberos 5 service principal) initiator 2013-07-09 01:05:28 +00:00
security Implement read(2)/write(2) and neccessary lseek(2) for posix shmfd. 2013-08-21 17:45:00 +00:00
sparc64 Significantly reduce the cost, i.e., run time, of calls to madvise(..., 2013-08-29 15:49:05 +00:00
sys Forced dismounts of NFS mounts can fail when thread(s) are stuck 2013-09-01 23:02:59 +00:00
teken
tools Further refine the handling of stop signals in the NFS client. The 2013-02-21 19:02:50 +00:00
ufs In looking at block layouts as part of fixing filesystem block 2013-08-28 17:46:32 +00:00
vm Fix bug introduced in rewrite of keg_free_slab in -r251894. 2013-08-31 15:40:15 +00:00
x86 Implement vector callback for PVHVM and unify event channel implementations 2013-08-29 19:52:18 +00:00
xdr Use m_get() and m_getcl() instead of compat macros. 2013-03-15 10:21:18 +00:00
xen Implement vector callback for PVHVM and unify event channel implementations 2013-08-29 19:52:18 +00:00
Makefile Remove netncp cscope entry missed in r248097 2013-03-12 14:21:52 +00:00