summaryrefslogtreecommitdiffstats
path: root/sys/dev/ccdvar.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ccd goes to the atticderaadt2011-10-061-184/+0
| | | | discussed with jsing and millert
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* now that all partition size/offsets are potentially 64-bit, change thederaadt2007-06-061-6/+6
| | | | | | | type of all variables to daddr64_t. this includes the APIs for XXsize() and XXdump(), all range checks inside bio drivers, internal variables for disklabel handling, and even uvm's swap offsets. re-read numerous times by otto, miod, krw, thib to look for errors
* Remove the ``new i/o'' code. It has never worked well, noone has stepped upmiod2007-04-181-2/+2
| | | | | to fix it, and it goes in the way of good changes pedro is brewing. No functional change, tested todd@ millert@
* use rwlocks instead of hand-rolled. make the softc private parts private.tedu2007-04-061-25/+1
| | | | | this means making ccdconfig "SMALL" to turn off the kvm groveling nonsense ok deraadt millert pedro todd
* calculate the rpm for a disklabel; implement new io discipline for mirror; 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 );mickey2005-03-251-1/+2
|
* fix a buffer-done race that makes mirroring work now;mickey2005-02-241-19/+25
| | | | | | use pool instead of malloc/free and this fixes new buffer mode; implement DIOCGPDINFO for disklabel -d; tested by henning@ millert@ fries@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Add some missing lengths checks when passing data from userland tomillert2001-09-161-3/+4
| | | | kernel. From based on NetBSD patches.
* Optimized to perform well on small interleaves which makes the ccd driverniklas1997-11-261-2/+3
| | | | | | | 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.
* From NetBSD: sync with 960217 sourcesniklas1996-03-021-19/+25
|
* from netbsd;deraadt1996-01-121-5/+3
| | | | | | | | | | | | | | | | 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.
* initial import of NetBSD treederaadt1995-10-181-0/+206