summaryrefslogtreecommitdiff
path: root/sys/dev/biovar.h
AgeCommit message (Collapse)Author
2007-05-28Make disk assembly smarter and add two qualifiers to it:Marco Peereboom
1) noautoassemble; when set the softraid volume will not be assembled during autoconf. 2) force; when set it will overwrite metadata on disk While writing this I ran into 3 bugs that were fixed along the way 1) bcopy in sr_read_meta was copying data to the wrong pointer 2) in sr_read_meta the wrong metadata was coppied into the chunk 3) sr_free_discipline was freing a pointer that wasn't malloc'd ok dlg
2007-05-23Remove all vnode dependencies so that we can bootstrap softraid volumes.Marco Peereboom
Code from tedu. Replace all kernel string magic with dev_t passed in from bioctl. Suggestion from beck and tedu. Help from miod. Fix chunk crc. ok tedu
2007-03-19Add a new device that provides a framework for IO manipulation. A very basicMarco Peereboom
implementation of a RAID 1 is included in this but it does not deal with failures yet. Disabled in GENERIC. Suggestions from and ok beck@ miod@ krw@ dlg@ deraadt@
2006-06-10shorten a name for bioctlTheo de Raadt
2006-05-26simplify interface (not binary compatible); ok marcoTheo de Raadt
2006-05-25make an Online/Scrub SD state for marcoTheo de Raadt
2006-05-25also provide a seconds-of-progress counter; ok marcoTheo de Raadt
2006-05-25Add a few more volume status values, and a % completion as well, nowTheo de Raadt
that we have a controller which can give more information; ok marco
2005-08-18blinking doesnt care about volid and diskid at the moment. use targetDavid Gwynne
instead
2005-08-18fix a pasto by marco@David Gwynne
2005-08-18Add "create hot spare" ok dlg@Marco Peereboom
2005-08-17Add ioctl for setting the state of disks.Marco Peereboom
KNF
2005-08-17Add blink ioctl.Marco Peereboom
2005-08-17add bio_unregister so drivers can remove their bio entry on error orDavid Gwynne
detach. ok marco@ after i proved i had tested it.
2005-08-16Fix a few retardos. Yelled at by deraadt@Marco Peereboom
2005-08-09Provide HDD serial numbers to bio. Requested deraadt@ ok dlg@Marco Peereboom
2005-08-08Add ses link. Tested and ok deraadt@Marco Peereboom
2005-08-08rename a bunch of bio/raid APIs to stop the bleeding in dlg andTheo de Raadt
my eyes; marco ok
2005-08-08Add devices to structures.Marco Peereboom
ok and help deraadt@
2005-08-01Unbreak tree after marco forgotten commit. Then phoning marco to bitch him out.Bob Beck
no objections krw@
2005-07-29Redo bioctl because initial implementation was too complex.Marco Peereboom
tested and ok dlg@ beck@ get it in @deraadt
2005-07-18revert marcos bio changes, mickey not okDavid Gwynne
2005-07-18Rip out all previous bio code because it sucked. Replaced all ioctl code inMarco Peereboom
ami(4) and bio(4). Note that this will break trees where userland and kernel are not in sync. ok dlg@
2005-04-06Add alert blink.Marco Peereboom
2005-04-04add blink and unblink.Marco Peereboom
2005-03-29add raid definesMarco Peereboom
ok mickey@
2003-06-03fix various 3/4 licenses according to "terms" fileTheo de Raadt
2002-06-09bio is a driver that can delegate ioctls to other drivers whichNiklas Hallqvist
otherwise do not deserve a /dev-node of their own. Will be used for RAID mgmt among other things. Initially only i386 gets the device, but other platforms will follow in a few hours. MAKEDEV stuff coming soon too.