summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid_raid1.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add other valid chunk state transitions for RAID 1.jsing2009-06-181-11/+19
| | | | ok marco@
* Abuse bio layer a little less by marking fake buffers with B_PHYS.marco2009-06-021-2/+2
| | | | | | | From beck with lots of squealing and ear bleeds. Issue originally reported by todd. ok beck
* Rebuild can go to degradedmarco2009-06-021-1/+2
|
* marco needs to learn how to do his range checks better, found by Parfaitderaadt2009-06-021-2/+2
| | | | ok oga guenther
* Add an identifier that tells us if we can rebuild this discipline.marco2009-06-021-1/+2
| | | | KNF & spelling too
* First bits for rebuild. Disabled for now.marco2009-06-021-6/+26
|
* Move the discipline initialisation code into discipline specific functions,jsing2009-05-111-2/+33
| | | | | | | | rather than initialising everything in softraid.c. This makes a discipline more self-contained and reduces the number of function declarations needed in softraidvar.h. ok marco@
* Part one of partial bringup volumes. Plenty of rope to kill your datamarco2009-04-281-1/+2
| | | | use with caution...
* Add generic sr_scsi_done function that does the spl dancemarco2008-11-251-3/+3
|
* Full rewrite of metadata handling. This fixes power failures and crashesmarco2008-07-191-34/+31
| | | | | | | | | | | | | | | | that caused illegal checksums. The new metadata code is more or less ready to deal with other vendor's metadata formats. While here clean up the name space. Fix thib's pool mess by adding removing bad flags in interrupt context. tested on macppc, amd64, i386, sparc64 & hppa sparc64 has issues with crypto however those do not seem to be softraid specific. help from okan@ ckuethe@ Will Backman and others
* Shave off a few more bytes by moving IO collision detection into a genericmarco2008-02-051-20/+2
| | | | | fucntion. Fix bug in the crypto code that could casuse data corruption as a bonus, bad cut & past tedu!
* Create a generic function to validate IO instead of copying and pastingmarco2008-02-051-43/+3
| | | | | | | | same code in all disciplines. This shaves of a few bytes. crypto 3185 -> 2690 raid 0 2843 -> 2378 raid 1 3474 -> 2689
* Create chunk and state transition functions for RAID 0.marco2008-01-241-1/+197
| | | | | | Move RAID 1 chunk and state transition functions into proper file. Let Crypto use RAID 1 chunk and state transition functions for now but this needs fixing.
* Bring softraid into the world of 16 byte commands; this allows for > 2TB disksmarco2008-01-241-1/+3
| | | | Fix bioctl size output which was off by *512; diagnosed by otto
* also move softraid raid1 into own file, ok marcotedu2007-11-271-0/+418