freebsd-nq/sys
Konstantin Belousov c79dff0fbe Split the global taskqueue used to process all UFS trim completions,
into per-mount taskqueue with the private taskqueue processing thread.
This allows to drain the taskqueue on unmount, to ensure that all
TRIMs are finished before mount structures are freed.

But just draining the taskqueue where TRIM biodone geom-up completions
are processed is not enough, since ffs_blkfree(), called by the task,
might result in more writes.  Count inflight delayed blkfree's and
pause() unmount until the counter drains as well.

Reported by:	Nick Evans <nevans@talkpoint.com>
Tested by:	Nick Evans <nevans@talkpoint.com>, pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2016-03-27 08:21:17 +00:00
..
amd64 iConvert Linux SOL_IPV6 level. 2016-03-27 08:12:01 +00:00
arm Only define the platform methods for the Allwinner platforms we are 2016-03-26 17:49:46 +00:00
arm64 arm64: Fixing user space boudary checking in copyinout.S 2016-03-24 13:28:33 +00:00
boot Do not prompt for GELI passphrase is encrypted with keys only 2016-03-26 15:39:48 +00:00
bsm Merge from contrib/openbsm to bring the kernel audit bits up to date with OpenBSM 1.2 alpha 4: 2015-12-20 23:22:04 +00:00
cam Add 4k enabled cam quirks for Samsung SM863 Series SSDs 2016-03-24 14:20:33 +00:00
cddl Unify ignoring EEXIST from zvol_create_minor(). 2016-03-24 10:10:41 +00:00
compat iConvert Linux SOL_IPV6 level. 2016-03-27 08:12:01 +00:00
conf Adding pci_host_generic unconditionally breaks ARM boards with a PCI(e) interface. 2016-03-22 12:12:01 +00:00
contrib Replace the CloudABI system call table by a machine generated version. 2016-03-24 21:47:15 +00:00
crypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
ddb Add td_swinvoltick to track last involuntary context switch 2016-03-25 19:35:29 +00:00
dev Plug leak in m_unshare. 2016-03-26 23:39:53 +00:00
fs Speed up lookups in autofs(5) by using red-black trees instead of linear 2016-03-24 13:34:39 +00:00
gdb
geom Don't assume that bio_cmd is a bit mask. 2016-03-10 06:25:39 +00:00
gnu Update our copy of the Linux dts files to be in sync with Linux 4.5-rc1. We 2016-02-09 16:42:32 +00:00
i386 iConvert Linux SOL_IPV6 level. 2016-03-27 08:12:01 +00:00
isa Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
kern Plug leak in m_unshare. 2016-03-26 23:39:53 +00:00
kgssapi kcrypto_aes: Use separate sessions for AES and SHA1 2016-02-02 00:14:51 +00:00
libkern
mips Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
modules [urtwn] migrate urtwn out into sys/dev/urtwn/ . 2016-03-20 03:54:57 +00:00
net Fix compile errors after r297225: 2016-03-24 11:40:10 +00:00
net80211 net80211: fix panic for DWDS vaps 2016-03-26 08:59:56 +00:00
netgraph Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
netinet tcp/lro: Return TCP_LRO_NO_ENTRIES if we are short of LRO entries. 2016-03-25 02:54:13 +00:00
netinet6 FreeBSD previously provided route caching for TCP (and UDP). Re-add 2016-03-24 07:54:56 +00:00
netipsec Fix handling of net.inet.ipsec.dfbit=2 variable. 2016-03-18 09:03:00 +00:00
netnatm
netpfil pf: Improve forwarding detection 2016-03-16 06:42:15 +00:00
netsmb The problem report was for a crash that happened when smbfs was 2015-11-18 23:04:01 +00:00
nfs If the dhcp server provides an interface-mtu option, parse the value and 2016-03-21 14:51:51 +00:00
nfsclient
nfsserver
nlm Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
ofed Add missing curly brackets in for loop. 2016-03-17 12:30:21 +00:00
opencrypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
pc98 Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
powerpc Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
riscv Add support for ddb(4). 2016-03-10 15:51:43 +00:00
rpc Fix incorrect (fortunately bigger) malloc size. 2016-03-19 11:48:06 +00:00
security Busy the mount point which is the owner of the audit vnode, around 2016-01-16 10:06:33 +00:00
sparc64 Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
sys Add td_swinvoltick to track last involuntary context switch 2016-03-25 19:35:29 +00:00
teken
tests Style 9 changes. 2015-11-12 10:31:14 +00:00
tools Fix MFS builds when both MD_ROOT_SIZE and MFS_IMAGE are specified 2016-02-02 07:02:51 +00:00
ufs Split the global taskqueue used to process all UFS trim completions, 2016-03-27 08:21:17 +00:00
vm Remove UMA_ZONE_REFCNT feature, now unused. 2016-03-01 00:33:32 +00:00
x86 Enable interrupts on the BSP once all PICs are initialized. 2016-03-24 00:24:07 +00:00
xdr
xen xenbus: add a comment with the names of the generated accessors 2016-01-15 14:34:31 +00:00
Makefile Add riscv to the list of architectures for cscope. 2016-02-29 16:39:27 +00:00