freebsd-dev/usr.sbin
Alexander Motin bfbfc4a3cb Count consecutive read requests as blocking in CTL for files and ZVOLs.
Technically read requests can be executed in any order or simultaneously
since they are not changing any data.  But ZFS prefetcher goes crasy when
it receives consecutive requests from different threads.  Since prefetcher
works on level of separate blocks, instead of two consecutive 128K requests
it may receive 32 8K requests in mixed order.

This patch is more workaround then a real fix, and it does not fix all of
prefetcher problems, but it improves sequential read speed by 3-4x times
in some configurations.  On the other side it may hurt performance if
some backing store has no prefetch, that is why it is disabled by default
for raw devices.

MFC after:	2 weeks
2014-12-06 20:39:25 +00:00
..
ac Move example to EXAMPLES. 2013-03-17 06:54:04 +00:00
accton
acpi Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
adduser use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
amd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ancontrol Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
apm use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
apmd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
arp Speed up the lookup of interfaces when there are a large number 2014-04-05 22:13:32 +00:00
asf Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
audit Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
auditd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
auditdistd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
auditreduce Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
authpf Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
autofs Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
bhyve Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
bhyvectl Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
bhyveload Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
binmiscctl mdoc: kill EOL whitespace. 2014-07-29 19:49:27 +00:00
bluetooth Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
boot0cfg Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
boot98cfg Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
bootparamd use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
bsdconfig Default bsdconfig timezone' and tzsetup' to `-s' in a VM. 2014-11-11 19:37:17 +00:00
bsdinstall Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
bsnmpd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
btxld Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
cdcontrol Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
chkgrp use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
chown chown: Fix chown test number 2014-07-17 06:57:26 +00:00
chroot
ckdist Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
clear_locks Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
config Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
cpucontrol Restore the ABI of the cpuctl(4) ioctl request CPUCTL_CPUID, use 2014-06-20 13:13:38 +00:00
crashinfo Do not truncate the `command'' column in `ps'' output. 2013-12-25 15:23:01 +00:00
cron Readd Makefile.inc that were used to include upper level Makefile.inc and 2014-11-28 22:03:35 +00:00
crunch Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
ctladm Count consecutive read requests as blocking in CTL for files and ZVOLs. 2014-12-06 20:39:25 +00:00
ctld Do not corrupt the listen string when parsing it. 2014-12-03 09:32:51 +00:00
ctm Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
daemon Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
dconschat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
devinfo Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
digictl
diskinfo Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
dumpcis use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
editmap Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
edquota Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
eeprom use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
etcupdate Rework the EXAMPLES section to be a bit clearer. 2014-10-29 18:01:09 +00:00
extattr Fix return type of extattr_set_* and fix rmextattr(8) utility. 2013-04-02 05:30:41 +00:00
extattrctl
fdcontrol
fdformat
fdread - Cleanups pc98 code. 2014-09-28 11:32:46 +00:00
fdwrite use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
fifolog Readd Makefile.inc that were used to include upper level Makefile.inc and 2014-11-28 22:03:35 +00:00
flowctl Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
freebsd-update Re-work non-persistent filesystem detection as it was not possible to 2014-11-18 13:38:09 +00:00
ftp-proxy Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
fwcontrol use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
getfmac
getpmac
gpioctl Switch gpioctl(8) to LIBADD. 2014-12-03 03:05:15 +00:00
gssd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
gstat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
hyperv Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, 2014-09-13 02:15:31 +00:00
i2c Fix a few cases of use of uninitialized variables. Found with -Wall. 2014-11-12 03:59:26 +00:00
ifmcstat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
inetd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
iostat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ip6addrctl
ipfwpcap Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
iscsid Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
jail In preparation for using clang's -Wcast-qual: 2014-11-25 21:01:08 +00:00
jexec Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
jls Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
kbdcontrol Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
kbdmap More man pages that need to know about vt in addition to syscons. 2014-08-26 10:55:08 +00:00
keyserv Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
kgmon Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
kgzip use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
kldxref use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
lastlogin
lmcconfig Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
lpr Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
lptcontrol
mailstats Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mailwrapper Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
makefs Convert makefs to LIBADD 2014-11-24 22:15:30 +00:00
makemap Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
manctl
memcontrol
mergemaster Remove ia64. 2014-07-07 00:27:09 +00:00
mfiutil Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mixer use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
mld6query
mlxcontrol use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
mount_smbfs Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mountd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
moused Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mptable use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
mptutil Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mtest Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
mtree Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
nandsim use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
nandtool Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ndiscvt Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ndp Fix "ndp -d hostname". 2014-07-18 06:48:02 +00:00
newsyslog If we fail to send a signal after rotation, print the pidfile from which 2014-10-08 17:44:30 +00:00
nfscbd
nfsd Document the use of the vfs.nfsd sysctls that control the size of 2014-08-10 20:05:13 +00:00
nfsdumpstate
nfsrevoke
nfsuserd
ngctl Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
nghook Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
nmtree Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
nologin
nscd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ntp Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
nvram use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ofwdump use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
pc-sysinstall use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
pciconf Fix some buglets in the error-handling of getdevice(). In particular, report 2014-10-22 23:35:56 +00:00
periodic use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
pkg Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pmcannotate use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
pmccontrol Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pmcstat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pnpinfo
portsnap use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
powerd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ppp Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pppctl Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
praliases Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
praudit Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
procctl
pstat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pw Convert to LIBADD. 2014-11-24 21:49:01 +00:00
pwd_mkdb Add -p to the example (why isn't this the default?) 2014-02-06 09:57:27 +00:00
quot
quotaon Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rarpd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
repquota Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rip6query
rmt
route6d Recover sin6_scope_id of gateway addresses in riprecv() by using the if_index 2014-08-20 17:27:15 +00:00
rpc.lockd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rpc.statd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rpc.umntall use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
rpc.yppasswdd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rpc.ypupdated Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rpc.ypxfrd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rpcbind Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rrenumd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rtadvctl use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
rtadvd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rtprio use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
rtsold Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rwhod Don't accidently skip every second line when calculating the 2014-06-28 15:53:28 +00:00
sa use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
sendmail Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
service Revert previous revision (r268461) for reasons documented in PR. 2014-07-16 19:02:30 +00:00
services_mkdb Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
setfib Tweak wording. 2013-09-07 20:25:22 +00:00
setfmac
setpmac
sicontrol use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
smbmsg Fix typo (by -> be). 2014-09-01 16:12:29 +00:00
snapinfo Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
spkrtest
spray Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
syslogd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
sysrc Add EXAMPLES-section entry for new key+=append syntax of sysrc(8). 2014-11-05 01:24:44 +00:00
tcpdchk Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
tcpdmatch Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
tcpdrop use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
tcpdump Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
tests Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. 2014-03-16 04:09:22 +00:00
timed Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
traceroute Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
traceroute6 Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
trpt Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
tzsetup Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
uathload
ugidfw Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
uhsoctl Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
unbound Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
usbconfig Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
usbdump use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
utx use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
vidcontrol vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin font 2014-10-23 12:38:05 +00:00
vipw Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
wake use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
watch Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
watchdogd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
wlandebug Fix a typo to catch correct condition. 2014-08-25 05:52:05 +00:00
wlconfig
wpa Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
yp_mkdb use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ypbind use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
yppoll
yppush use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ypserv Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ypset Use INADDR_NONE instead of -1 to check inet_addr() result. 2013-10-15 07:37:30 +00:00
zic
zzz Use Mt macro to properly format mailto links 2014-06-19 13:18:23 +00:00
Makefile Renove faith(4) and faithd(8) from base. It looks like industry 2014-11-09 21:33:01 +00:00
Makefile.amd64 Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, 2014-09-13 02:15:31 +00:00
Makefile.arm
Makefile.i386 Disable hyperv on pc98. 2014-10-18 08:07:17 +00:00
Makefile.inc
Makefile.mips
Makefile.powerpc - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.sparc64 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00