summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
AgeCommit message (Expand)Author
2008-01-24KNFMarco Peereboom
2008-01-20debug kruftMarco Peereboom
2008-01-19Add initial scaffold for RAID 0. No IO just yet.Marco Peereboom
2008-01-19Remove printf that doesn't make sense.Marco Peereboom
2008-01-05return with ENOTTY instead of EINVAL for unknown ioctl requests.Brad Smith
2007-11-27also move softraid raid1 into own file, ok marcoTed Unangst
2007-11-27split crypto functions out into their own file, so softraid.c is not suchTed Unangst
2007-11-26Just CRYPTO; RAID CRYPTO doesn't mean anything.Marco Peereboom
2007-11-26rename RAID C to RAID CRYPTO. makes marco happierTed Unangst
2007-11-16use arc4random_bytes() instead of multiple arc4random() calls;Damien Miller
2007-09-11KNFGilles Chehade
2007-09-08more M_ZERO changesGilles Chehade
2007-06-24rework sensor tasks to use the kernels generic workq rather than a specialDavid Gwynne
2007-06-06correct format strings for large types; ok marcoTheo de Raadt
2007-06-05Shuffle calculation of physical block so that bounds checking is not off byMarco Peereboom
2007-06-05consistently use one variable instead of deriving it repeatedlyTodd T. Fries
2007-06-05use six new macros to access & store the 48-bit disklabel fields relatedTheo de Raadt
2007-06-04use S_IFCHR instead of S_IFBLK to shut the SCSI midlayer up duringMarco Peereboom
2007-06-03put raidc inside ifdef CRYPTO, since it won't work without itTed Unangst
2007-06-03shuffle the raid 1 specific functions to be all together and closerTed Unangst
2007-06-03virtual device drivers tend not to need machine/bus.h. also importantTheo de Raadt
2007-06-03During autoassemble get the actual raid level instead of always 1.Marco Peereboom
2007-06-02Disable crypto until we figure out proper key management and other stuffMarco Peereboom
2007-06-02Fix collision by not adding data length but blocks instead.Marco Peereboom
2007-06-02Add optional metadata element. This will be needed in the future forMarco Peereboom
2007-06-02Redo the sense mechanism to become autosense instead of request sense.Marco Peereboom
2007-06-01check return value of findblkmajor; this fixes a crash on vax during boot.Marco Peereboom
2007-06-01Add additional flag to indicate that we have a metdadata io pending; thisMarco Peereboom
2007-06-01Check return code for resource allocation.Marco Peereboom
2007-06-01save metdata in context using dlg and tedu's shiny new workq api.Marco Peereboom
2007-05-31Redo the syncer to be a little smarter on interaction while shutting downMarco Peereboom
2007-05-31Fix redundancy for RAID 1. Now one can pull a disk and continue running.Marco Peereboom
2007-05-31- zap unnecessary rv variableAlexander von Gernler
2007-05-30Make sure that if there are staggered syncs that they complete successfullyMarco Peereboom
2007-05-30Remove ugly print and don't panic when doing a partial bringup.Marco Peereboom
2007-05-30Sync after the metadata is saved.Marco Peereboom
2007-05-30add basic support for a crypto(9) backed raid C disciplineTed Unangst
2007-05-29Add dirty bit for volumesMarco Peereboom
2007-05-29sprinkle some SMALL_KERNEL so that it can run on boot media.Marco Peereboom
2007-05-29Add shutdownhook for all disciplinesMarco Peereboom
2007-05-29Kill stale commentMarco Peereboom
2007-05-29Fix race in sync code.Marco Peereboom
2007-05-29Re-add sync.Marco Peereboom
2007-05-29Sparc64 does not like 32 bit pointers. Bad me.Marco Peereboom
2007-05-28Make disk assembly smarter and add two qualifiers to it:Marco Peereboom
2007-05-27hack to not open cd & fd devices since they complain at boot time when thereMarco Peereboom
2007-05-26better spacingMarco Peereboom
2007-05-26get size from disklabel, d_psize will remain "swap only"Ted Unangst
2007-05-26Oops reintroduce check for SR_MAGIC to ensure that we care about metadata;Marco Peereboom
2007-05-26Assemble disks at boot time. This is not complete yet since it does notMarco Peereboom