freebsd-dev/sys
Kenneth D. Merry 8e35ba93ae Add the quirk entry framework to handle disabling the synchronize cache
command on drives that don't like it.  Right now, there's just a bogus
quirk entry in the table that doesn't do anything, but that should be
changed once we get actual inquiry data for drives that don't like the
synchronize cache command.

Also, add a shutdown hook that runs through all direct access peripherals
and runs a synchronize cache on them if they're still open, and if
synchronize cache isn't disabled via a quirk entry.

Add a synchronize cache call at the end of dadump() (again, conditionalized
on the quirk entry), so we can insure that the disk cache contents get
flushed to physical media after a dump.

Check the new quirk entry in daclose() to decide whether or not to
synchronize the cache for a disk at final close.

Reviewed by:	gibbs
1998-10-08 05:46:38 +00:00
..
alpha Add functions for accessing dense and bwx memory for pci devices. These 1998-10-06 14:18:40 +00:00
amd64 Fix syntax errors I introduced. 1998-10-07 13:51:46 +00:00
boot Fix that pesky boot aguments parsing bug. (I think :-) 1998-10-07 10:55:46 +00:00
cam Add the quirk entry framework to handle disabling the synchronize cache 1998-10-08 05:46:38 +00:00
coda Fixes for lkm: 1998-09-29 20:19:45 +00:00
compat Make async I/O on a socket work. 1998-10-05 16:37:36 +00:00
compile
conf Fix syntax errors I introduced. 1998-10-07 13:51:46 +00:00
contrib/softupdates Fix 'noatime' bug that was unrelated to use of noatime. 1998-10-03 19:17:11 +00:00
ddb Update to work with the new elf headers. 1998-08-17 08:06:31 +00:00
dev Add missing newline in probe message. 1998-10-07 14:42:24 +00:00
fs Fixes for lkm: 1998-09-29 20:19:45 +00:00
geom Update system to new device statistics code. 1998-09-15 08:15:30 +00:00
gnu Quick fix for not being able to sync all the buffers in boot() if 1998-10-03 16:19:28 +00:00
i386 Fix syntax errors I introduced. 1998-10-07 13:51:46 +00:00
isa Merge changes from i386/isa/sio.c up to revision 1.215. 1998-09-26 14:47:16 +00:00
isofs/cd9660 Remove the SLICE code. 1998-09-14 19:56:42 +00:00
kern Cast the return value of tvtohz() from a long to an int to satisfy the 1998-10-06 23:17:44 +00:00
libkern Converted rcsid to $Id$ again. There shouldn't be any rcsids in the kernel. 1998-08-17 19:26:37 +00:00
miscfs Make devfs update the atime timestamp so that 'w' works when using 1998-09-30 20:33:46 +00:00
modules Fixes for lkm: 1998-09-29 20:19:45 +00:00
msdosfs Remove unused variable. 1998-09-13 15:40:31 +00:00
net Check the timeval passed to BIOCSRTIMEOUT with itimerfix. Use tvtohz() 1998-10-08 00:32:08 +00:00
netatalk Fixed printf format errors. 1998-08-17 01:05:25 +00:00
netatm Two patches from the HARP people: 1998-09-17 09:35:02 +00:00
netinet Dike out some obsolete defines which referenced ih_next and ih_prev from 1998-09-26 14:26:59 +00:00
netipx Yow! Completely change the way socket options are handled, eliminating 1998-08-23 03:07:17 +00:00
netkey Fixed printf format errors. 1998-08-17 01:05:25 +00:00
netnatm This commit fixes various 64bit portability problems required for 1998-06-07 17:13:14 +00:00
netns Make INET a proper option. 1998-01-08 23:42:31 +00:00
nfs In nfs_link(), check for a cross-device mount *before* looking 1998-09-29 23:39:37 +00:00
nfsclient In nfs_link(), check for a cross-device mount *before* looking 1998-09-29 23:39:37 +00:00
nfsserver The code checks each fragment mark to see if it's valid; if the fragment 1998-09-29 22:33:05 +00:00
pc98 - Implement enabling write allocate on AMD K5/K6/K6-2 cpus. 1998-10-06 13:16:29 +00:00
pccard - Fix a bug where a "power_off_slot' timeout was not cancelled when the 1998-09-24 17:56:31 +00:00
pci ahc_pci.c: 1998-10-07 03:40:51 +00:00
posix4 Set PAGE_SIZE for _SC_PAGESIZE sysconf(). 1998-06-01 21:54:43 +00:00
powerpc Add support for adjkerntz (largely untested). 1998-10-06 08:40:18 +00:00
rpc
sys Quick fix for not being able to sync all the buffers in boot() if 1998-10-03 16:19:28 +00:00
tools VOP_STRATEGY grows an (struct vnode *) argument 1998-07-04 20:45:42 +00:00
ufs Use vm_page_xxx() inline functions to manipulate vm_page::flags, vm_page::busy. 1998-10-07 13:59:26 +00:00
vm Fix a bug in which a page index was used where a byte offset was 1998-10-01 20:46:41 +00:00
Makefile Build the new boot loader on the alpha. This allows make release to work again. 1998-10-04 00:42:08 +00:00