summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
AgeCommit message (Expand)Author
2008-10-11Fix various printf constructs either missing arguments or format specifiers.Miod Vallat
2008-09-22Make sure some possibly uninitialized local variables are assigned correctMiod Vallat
2008-07-21Add curproc to ioctl call.Marco Peereboom
2008-07-20fill in variant and version components of the UUIDDamien Miller
2008-07-19Full rewrite of metadata handling. This fixes power failures and crashesMarco Peereboom
2008-06-25use pools for the uio and iovec allocations in sr_crypto_getcryptop()Thordur I. Bjornsson
2008-06-14Provide a status field for operations on the bc_opaque data. Now we'reHans-Joerg Hoexer
2008-06-14Update bioctl(8) and softraid(4) to recent changes and enable softraidHans-Joerg Hoexer
2008-06-13When assembling an already initialized crytpo softraid, correctly copy inHans-Joerg Hoexer
2008-06-12make sure to check that a crypto volume is not yet assembled whenHans-Joerg Hoexer
2008-06-12Clead discipline pointer after delete. Found by hshoexerMarco Peereboom
2008-06-12Get mask keying for on-disk keys from user space and keep a "hint" for keyHans-Joerg Hoexer
2008-06-12Be more paranoid before disestablishing hookMarco Peereboom
2008-06-12Add delete volume functionality.Marco Peereboom
2008-06-11Move first pieces of crypto softraid into the tree. Still totallyHans-Joerg Hoexer
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;Damien Miller
2008-04-02fix bad printf if metadata clearing failedMartin Reindl
2008-02-15Add myself to the copyrights, ok marco@Chris Kuethe
2008-02-14Actually implement the crypto.Chris Kuethe
2008-02-07Add optional metadata memebers.Marco Peereboom
2008-02-05Shave off a few more bytes by moving IO collision detection into a genericMarco Peereboom
2008-02-05Add strip size to debug print.Marco Peereboom
2008-02-05Create a generic function to validate IO instead of copying and pastingMarco Peereboom
2008-02-03There is no such thing as RAIDCRYPTO so rename to CRYPTOMarco Peereboom
2008-01-29Improve performance dramatically by preventing severeal context switches.Marco Peereboom
2008-01-24Create chunk and state transition functions for RAID 0.Marco Peereboom
2008-01-24Bring softraid into the world of 16 byte commands; this allows for > 2TB disksMarco Peereboom
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