freebsd-skq/sbin/fsck_ffs
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
..
SMM.doc s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
dir.c s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
ea.c Add a source file where EXTATTR checks will happen and hook it in even 2002-09-16 11:27:47 +00:00
fsck_ffs.8 Fix some 'SYNOPSIS' and 'usage' messages. 2002-08-27 00:49:27 +00:00
fsck.h Add a source file where EXTATTR checks will happen and hook it in even 2002-09-16 11:27:47 +00:00
fsutil.c Slow down the operation of background fsck so as to leave some disk 2002-12-07 21:40:31 +00:00
inode.c Fix a bunch of format string warnings which broke 2002-07-31 12:01:14 +00:00
main.c s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
Makefile Add a source file where EXTATTR checks will happen and hook it in even 2002-09-16 11:27:47 +00:00
pass1.c Use the standardized CHAR_BIT constant instead of NBBY in userland. 2002-09-25 04:06:37 +00:00
pass1b.c This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
pass2.c Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:10:45 +00:00
pass3.c o __P removed 2002-03-20 22:57:10 +00:00
pass4.c This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00
pass5.c Fsck needs to check each CG's rotor values to ensure thay are not -ve. 2002-11-24 21:41:42 +00:00
setup.c Verify that alternate superblocks have a correct magic number before 2002-12-02 19:30:37 +00:00
utilities.c Warning cleanup. 2002-07-30 13:01:25 +00:00