freebsd-dev/sbin
Ian Dowse 9d580d7c5f Slow down the operation of background fsck so as to leave some disk
bandwidth for other processes. Since the sleeping is done from
userland, this avoids the locking issues that affected the kernel
version.

The algorithm used here is to measure a moving average of the times
taken by a sample of read operations and then delay 1 in 8 reads
by 16 times the measured average. This should correspond to a factor
of 3 slowdown, but in practice the factor is larger (3.5 to 4) due
to hz rounding effects.

Reviewed by:	mckusick
Approved by:	re
2002-12-07 21:40:31 +00:00
..
adjkerntz s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
atacontrol Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes. 2002-09-16 08:34:08 +00:00
atm de-__P() 2002-10-10 00:32:55 +00:00
badsect Create a new 32-bit fs_flags word in the superblock. Add code to move 2002-11-27 02:18:58 +00:00
bsdlabel Relax partition overlap check to allow Vinum partitions to overlap 2002-12-02 23:49:59 +00:00
camcontrol Split cam_argmask and move "commands" into cam_cmdmask. This addresses 2002-09-08 05:39:36 +00:00
ccdconfig s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
clri Create a new 32-bit fs_flags word in the superblock. Add code to move 2002-11-27 02:18:58 +00:00
comcontrol The .Nm utility 2002-07-06 19:34:18 +00:00
conscontrol The .Nm utility 2002-07-06 19:34:18 +00:00
cxconfig Default to WARNS=2. 2001-12-04 02:19:58 +00:00
devd MFp4 (imp_freebsd branch): snapshot of devd work: 2002-12-07 08:04:36 +00:00
devfs Treat the pathptrn field as a real pattern with the aid of fnmatch(). 2002-10-08 04:21:54 +00:00
dhclient Removed now unused INTERNALSTATICLIB. 2002-05-13 11:09:07 +00:00
disklabel Relax partition overlap check to allow Vinum partitions to overlap 2002-12-02 23:49:59 +00:00
dmesg s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
dump Add the `L' option to dump to notify it that it is dumping a 2002-12-03 18:21:09 +00:00
dumpfs Create a new 32-bit fs_flags word in the superblock. Add code to move 2002-11-27 02:18:58 +00:00
dumpon s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
fdisk Fix the regexp evilness so that fdisk can (again?) find the device 2002-10-27 10:52:54 +00:00
fdisk_pc98 Merged various changes from src/sbin/fdisk/fdisk.c revisions up to 1.66. 2002-10-27 16:43:59 +00:00
ffsinfo s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
fsck Give a meaningfull diagnostic when we cannot determine the filesystem type. 2002-10-31 15:32:39 +00:00
fsck_ffs Slow down the operation of background fsck so as to leave some disk 2002-12-07 21:40:31 +00:00
fsck_msdosfs Fix some 'SYNOPSIS' and 'usage' messages. 2002-08-27 00:49:27 +00:00
fsdb I forgot fsdb was still sharing files with fsck. 2002-09-16 14:18:43 +00:00
fsirand Create a new 32-bit fs_flags word in the superblock. Add code to move 2002-11-27 02:18:58 +00:00
gbde Synchronize usage() with reality. 2002-12-01 15:58:28 +00:00
gpt o Newer EFI implementations require that a GPT is preceeded by 2002-12-02 01:42:03 +00:00
growfs Create a new 32-bit fs_flags word in the superblock. Add code to move 2002-11-27 02:18:58 +00:00
ifconfig mdoc(7) police: markup, spelling. 2002-11-25 16:01:28 +00:00
init Give up on a tty if opening it's special file returns ENOENT like we do for 2002-09-27 16:02:28 +00:00
ip6fw Check if a host argument is a IPv6 presentation format address before 2002-08-25 05:44:13 +00:00
ipf * add extra -I path to get the "matching" header files. 2002-03-20 09:02:48 +00:00
ipfs add extra include path to get .h files from source being used to compile 2002-03-26 10:09:09 +00:00
ipfstat Hopefully fix make world. 2002-03-19 22:51:53 +00:00
ipfw Align timestamps when -t is used in ipfw and ipfw2. 2002-11-26 22:53:14 +00:00
ipmon * add extra -I path to get the "matching" header files. (and split the one 2002-03-20 09:04:34 +00:00
ipnat * need to compile printnat.c now that this function is in a separate .c file 2002-03-20 09:01:48 +00:00
kldconfig s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
kldload Update documentation for kldload(8)'s ability to load multiple modules. 2002-10-09 06:46:54 +00:00
kldstat The .Nm utility 2002-07-06 19:34:18 +00:00
kldunload The .Nm utility 2002-07-06 19:34:18 +00:00
ldconfig Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
mca o Replace 'struct uuid' with 'uuid_t', 2002-11-01 06:34:35 +00:00
md5 Use `The .Nm utility' 2002-04-19 23:06:29 +00:00
mdconfig Make sure strsep() gets a nul-terminated string. 2002-10-10 10:07:19 +00:00
mdmfs Teach mdmfs how to pass UFS version numbers through to newfs. Because 2002-12-01 23:19:57 +00:00
mknod s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount Teach mount(8) about MNT_ACLS for the purposes of mount options and 2002-10-14 19:40:00 +00:00
mount_cd9660 s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_ext2fs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_hpfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_msdosfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_nfs Removed a debugging printf() left here in peter's 2002-09-14 15:14:29 +00:00
mount_ntfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_nullfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_nwfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_portalfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_smbfs Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
mount_std Take sizeof() the right string for fspath's iovec. The old string was the 2002-11-05 20:06:01 +00:00
mount_udf s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_umapfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_unionfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
natd can not -> cannot. 2002-08-13 14:10:36 +00:00
newfs Correctly calculate the initial number of fragments in a filesystem 2002-12-02 19:31:53 +00:00
newfs_msdos Bring newfs_msdos into the GEOM world. Totally rewrite and simplify 2002-11-03 08:54:46 +00:00
nfsiod No need to include sys/time.h, this unbreaks a c89 warning about long long 2002-08-16 08:19:15 +00:00
nologin The .Nm utility 2002-07-06 19:34:18 +00:00
nos-tun Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes. 2002-09-16 19:46:20 +00:00
ping Fix LSRR option length check: it has to be less or equal remained header's 2002-10-21 11:43:46 +00:00
ping6 corrected buffer lengths for memset() 2002-12-06 02:11:31 +00:00
quotacheck Create a new 32-bit fs_flags word in the superblock. Add code to move 2002-11-27 02:18:58 +00:00
raidctl After much delay and anticipation, welcome RAIDFrame into the FreeBSD 2002-10-20 08:17:39 +00:00
rcorder mdoc(7) police: Fixed markup now that it was taken out of vendor branch. 2002-11-25 16:23:03 +00:00
reboot mdoc(7) police: Nits. 2002-11-26 09:05:06 +00:00
restore Use the standardized CHAR_BIT constant instead of NBBY in userland. 2002-09-25 04:06:37 +00:00
route The .Nm utility. 2002-07-06 19:35:14 +00:00
routed Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:10:45 +00:00
rtsol Default to WARNS=2. 2001-12-04 02:19:58 +00:00
savecore s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
setkey Fix spacing for -P (policy) examples. 2002-07-27 21:06:06 +00:00
shutdown s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
slattach The .Nm utility. 2002-07-06 19:35:14 +00:00
spppcontrol mdoc(7) police: tidy up the markup. 2002-01-10 16:02:23 +00:00
startslip Use `The .Nm utility' 2002-04-19 23:06:29 +00:00
swapon s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
sysctl Fix a "bug" in sysctl(8). Limit the length when we print a string from 2002-11-12 21:18:21 +00:00
tunefs Create a new 32-bit fs_flags word in the superblock. Add code to move 2002-11-27 02:18:58 +00:00
umount s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
vinum s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
Makefile Hook raidctl up to the build. 2002-10-23 04:50:34 +00:00
Makefile.inc Default to WARNS=2. 2001-12-04 02:19:58 +00:00