summaryrefslogtreecommitdiff
path: root/sys/dev/ccdvar.h
AgeCommit message (Collapse)Author
2007-04-18Remove the ``new i/o'' code. It has never worked well, noone has stepped upMiod Vallat
to fix it, and it goes in the way of good changes pedro is brewing. No functional change, tested todd@ millert@
2007-04-06use rwlocks instead of hand-rolled. make the softc private parts private.Ted Unangst
this means making ccdconfig "SMALL" to turn off the kvm groveling nonsense ok deraadt millert pedro todd
2005-03-25calculate the rpm for a disklabel; implement new io discipline for mirror; ↵Michael Shalayeff
this also changes the mirror striping strategy a bit to achieve the scatter-gathering; of course it has been proven that new discipline still makes troubles thus not enabling it yet );
2005-02-24fix a buffer-done race that makes mirroring work now;Michael Shalayeff
use pool instead of malloc/free and this fixes new buffer mode; implement DIOCGPDINFO for disklabel -d; tested by henning@ millert@ fries@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2001-09-16Add some missing lengths checks when passing data from userland toTodd C. Miller
kernel. From based on NetBSD patches.
1997-11-26Optimized to perform well on small interleaves which makes the ccd driverNiklas Hallqvist
really useful as a performance booster. The interleave needs to be a multiple of the software page size (CLBYTES) and not have mirror components if the new optimized policy should be used, otherwise the old policy will be used still.
1996-03-02From NetBSD: sync with 960217 sourcesNiklas Hallqvist
1996-01-12from netbsd;Theo de Raadt
New generic disk framework. Highlights: New metrics handling. Metrics are now kept in the new `struct disk'. Busy time is now stored as a timeval, and transfer count in bytes. Storage for disklabels is now dynamically allocated, so that the size of the disk structure is not machine-dependent. Several new functions for attaching and detaching disks, and handling metrics calculation. Old-style instrumentation is still supported in drivers that did it before. However, old-style instrumentation is being deprecated, and will go away once the userland utilities are updated for the new framework. For usage and architectural details, see the forthcoming disk(9) manual page.
1995-10-18initial import of NetBSD treeTheo de Raadt