freebsd-src/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
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
dev Add missing newline in probe message. 1998-10-07 14:42:24 +00:00
fs
geom
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
isofs/cd9660
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
miscfs Make devfs update the atime timestamp so that 'w' works when using 1998-09-30 20:33:46 +00:00
modules
msdosfs
net Check the timeval passed to BIOCSRTIMEOUT with itimerfix. Use tvtohz() 1998-10-08 00:32:08 +00:00
netatalk
netatm
netinet
netipx
netkey
netnatm
netns
nfs
nfsclient
nfsserver
pc98 - Implement enabling write allocate on AMD K5/K6/K6-2 cpus. 1998-10-06 13:16:29 +00:00
pccard
pci ahc_pci.c: 1998-10-07 03:40:51 +00:00
posix4
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
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