freebsd-skq/sys
kib dfd7a7f46d - Fix nullfs vnode reference leak in nullfs_reclaim_lowervp(). The
null_hashget() obtains the reference on the nullfs vnode, which must
  be dropped.

- Fix a wart which existed from the introduction of the nullfs
  caching, do not unlock lower vnode in the nullfs_reclaim_lowervp().
  It should be innocent, but now it is also formally safe.  Inform the
  nullfs_reclaim() about this using the NULLV_NOUNLOCK flag set on
  nullfs inode.

- Add a callback to the upper filesystems for the lower vnode
  unlinking. When inactivating a nullfs vnode, check if the lower
  vnode was unlinked, indicated by nullfs flag NULLV_DROP or VV_NOSYNC
  on the lower vnode, and reclaim upper vnode if so.  This allows
  nullfs to purge cached vnodes for the unlinked lower vnode, avoiding
  excessive caching.

Reported by:	G??ran L??wkrantz <goran.lowkrantz@ismobile.com>
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2013-05-11 11:17:44 +00:00
..
amd64 Fix several standard extended feature bits. 2013-05-11 01:31:51 +00:00
arm Update copyright date. 2013-05-08 09:42:50 +00:00
boot Move 'compatible' line out of the common am335x.dtsi and into 2013-05-10 05:34:08 +00:00
bsm Implement chflagsat(2) system call, similar to fchmodat(2), but operates on 2013-03-21 22:59:01 +00:00
cam Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
cddl In case ZFS doesn't use UMA for buffers there's no need to waste memory 2013-05-01 17:34:44 +00:00
compat Regenerate files for pipe2(). 2013-05-01 22:45:04 +00:00
conf Add option WITNESS_NO_VNODE to suppress printing LORs between VNODE 2013-05-09 16:28:18 +00:00
contrib Make the read/write routines default to the newer DS1337 part, but keep 2013-05-10 06:28:01 +00:00
crypto When porting XTS-related code from OpenBSD I forgot to update copyright (only 2013-02-20 22:59:53 +00:00
ddb
dev Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
fs - Fix nullfs vnode reference leak in nullfs_reclaim_lowervp(). The 2013-05-11 11:17:44 +00:00
gdb
geom - Use int8_t type for the mftrecsz field in g_label_ntfs. char type 2013-05-05 08:00:16 +00:00
gnu/fs/reiserfs Garbage collect XFS bits which are now already completely disconnected 2013-03-02 15:33:54 +00:00
i386 Rename VM_NDOMAIN into MAXMEMDOM and move it into machine/param.h in 2013-05-07 22:46:24 +00:00
ia64 Rename VM_NDOMAIN into MAXMEMDOM and move it into machine/param.h in 2013-05-07 22:46:24 +00:00
isa
kern - Fix nullfs vnode reference leak in nullfs_reclaim_lowervp(). The 2013-05-11 11:17:44 +00:00
kgssapi Isilon reported that sec=krb5p NFS mounts had a problem when m_len == 0 2013-05-01 22:07:55 +00:00
libkern Attempt to mitigate poor initialization of arc4 by one-shot 2013-04-19 00:30:52 +00:00
mips Add commented out OCTEON_VENDOR_GEFES 2013-05-10 03:05:44 +00:00
modules A driver for Intel Rapid Start Technology ACPI device. 2013-05-08 12:53:21 +00:00
net Back out r249318, r249320 and r249327 due to a heisenbug most 2013-05-06 16:42:18 +00:00
net80211 Fix a VAP BSS node reference in the HT code to actually take a reference 2013-05-10 09:37:58 +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 Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
netinet Rate limit the number of remotely triggered ARP log messages 2013-05-11 10:51:32 +00:00
netinet6 Honor the net.inet6.ip6.v6only sysctl variable and the IPV6_V6ONLY 2013-05-10 18:09:38 +00:00
netipsec Use IP6STAT_INC/IP6STAT_DEC macros to update ip6 stats. 2013-04-09 07:11:22 +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 Improve KASSERT() message. 2013-05-06 21:44:06 +00:00
netsmb If the kernel is compiled with VMIMAGE support, the first attempt of 2013-05-04 16:55:48 +00:00
nfs Move the NFS FHA (File Handle Affinity) code from sys/nfsserver to 2013-04-17 22:42:43 +00:00
nfsclient When an NFS unmount occurs, once vflush() writes the last dirty 2013-04-18 23:20:16 +00:00
nfsserver Move the NFS FHA (File Handle Affinity) code from sys/nfsserver to 2013-04-17 22:42:43 +00:00
nlm
ofed Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
opencrypto When porting XTS-related code from OpenBSD I forgot to update copyright (only 2013-02-20 22:59:53 +00:00
pc98 - Correct mispellings of word resource 2013-04-17 11:47:32 +00:00
pci - Corrrect mispellings of word useful 2013-04-17 11:45:15 +00:00
powerpc Rename VM_NDOMAIN into MAXMEMDOM and move it into machine/param.h in 2013-05-07 22:46:24 +00:00
rpc Fix a potential socket leak in the NFS server. If a client closes its 2013-04-08 19:03:01 +00:00
security MFC 2013-03-08 00:03:07 +00:00
sparc64 Rename VM_NDOMAIN into MAXMEMDOM and move it into machine/param.h in 2013-05-07 22:46:24 +00:00
sys - Fix nullfs vnode reference leak in nullfs_reclaim_lowervp(). The 2013-05-11 11:17:44 +00:00
teken
tools MFC 2013-02-21 21:59:35 +00:00
ufs - Correct mispellings of the word occurrence 2013-04-17 11:40:10 +00:00
vm Fix-up r250338 by completing the removal of VM_NDOMAIN in favor of 2013-05-08 10:55:39 +00:00
x86 Adding a detach method to p4tcc driver. 2013-05-10 22:43:27 +00:00
xdr Use m_get() and m_getcl() instead of compat macros. 2013-03-15 10:21:18 +00:00
xen xenstore/xenstore.c: 2013-04-29 23:08:13 +00:00
Makefile MFC 2013-03-13 01:05:42 +00:00