| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Make openings variable instead of maxwu; needed for more exotic raid sets. | 2009-06-17 | 1 | -2/+5 | ||
| | | | | | ok jordan | |||||
| * | Force Raid0/4/5 volume size to multiple of stripe size | 2009-06-17 | 1 | -4/+6 | ||
| | | | | | ok marco@ | |||||
| * | KNF and wrap at 80 columns. | 2009-06-12 | 1 | -5/+7 | ||
| | | | | | ok marco@ | |||||
| * | Allow chunks marked as offline to be used for rebuild (ie. once disk has | 2009-06-12 | 1 | -2/+4 | ||
| | | | | | | | been replaced). ok marco@ | |||||
| * | Create a hotplug callback mechanism. | 2009-06-11 | 1 | -17/+72 | ||
| | | ||||||
| * | Typo | 2009-06-10 | 1 | -2/+2 | ||
| | | ||||||
| * | Add framework for raid 4 & 5 so that we can work in tree. | 2009-06-10 | 1 | -1/+29 | ||
| | | ||||||
| * | Slay the running out of wu during rebuild dragon and some cleanup | 2009-06-03 | 1 | -23/+55 | ||
| | | ||||||
| * | whitespace. "Sure" marco@ | 2009-06-03 | 1 | -4/+4 | ||
| | | ||||||
| * | Oops need to kill the XXX comment that we are not enabling softraid rebuild | 2009-06-03 | 1 | -4/+1 | ||
| | | ||||||
| * | Start using the shiny new function pointer to determine if we have disk | 2009-06-03 | 1 | -1/+20 | ||
| | | | | | arrivals or departures. | |||||
| * | Make sure we don't stomp on a RAID partition that is already in use. | 2009-06-03 | 1 | -93/+108 | ||
| | | | | | Code is now enabled and ready for general testing. | |||||
| * | Abuse bio layer a little less by marking fake buffers with B_PHYS. | 2009-06-02 | 1 | -4/+4 | ||
| | | | | | | | | From beck with lots of squealing and ear bleeds. Issue originally reported by todd. ok beck | |||||
| * | space | 2009-06-02 | 1 | -2/+1 | ||
| | | ||||||
| * | Make rebuilds restartable over reboots. | 2009-06-02 | 1 | -9/+46 | ||
| | | | | | Abort rebuild and drain IO when shutting down. | |||||
| * | Fix some minor format string problems found in a maze of false positives | 2009-06-02 | 1 | -2/+2 | ||
| | | | | | | provided by Parfait ok oga | |||||
| * | Add an identifier that tells us if we can rebuild this discipline. | 2009-06-02 | 1 | -5/+9 | ||
| | | | | | KNF & spelling too | |||||
| * | First bits for rebuild. Disabled for now. | 2009-06-02 | 1 | -34/+250 | ||
| | | ||||||
| * | Bring up raid sets that have missing memebers. | 2009-05-30 | 1 | -30/+46 | ||
| | | ||||||
| * | When probing for softraid chunks, ensure that a chunk has a valid metadata | 2009-05-11 | 1 | -2/+9 | ||
| | | | | | | | | | signature, rather than just assuming that a partition of type RAID always has metadata. Add a similar test when validating native metadata. Whilst here, make sure that the metadata version is printed correctly. ok marco@ | |||||
| * | Move the discipline initialisation code into discipline specific functions, | 2009-05-11 | 1 | -98/+8 | ||
| | | | | | | | | | 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@ | |||||
| * | Use NO_CCB when we run out of work units. This way we don't have to care | 2009-04-29 | 1 | -2/+2 | ||
| | | | | | | about having enough WU + CCB during rebuilds. This also brings softraid closer to behaving like the other SCSI devices. | |||||
| * | Move discipline pointer init into its own function | 2009-04-28 | 1 | -114/+130 | ||
| | | ||||||
| * | Part one of partial bringup volumes. Plenty of rope to kill your data | 2009-04-28 | 1 | -31/+86 | ||
| | | | | | use with caution... | |||||
| * | KNF, typo and an uninteresting if(&=) instead of if(&) bug in debug code | 2009-04-26 | 1 | -6/+7 | ||
| | | ||||||
| * | Extend the scsi_adapter minphys() callback to take a struct scsi_link * | 2009-02-16 | 1 | -3/+3 | ||
| | | | | | | | as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary. | |||||
| * | This creates the notion of a non-disk softraid device. The aoe target | 2008-12-24 | 1 | -92/+110 | ||
| | | | | | | | | | | | is such a beast because it doesn't physically add a device to the OS but exports a RAID partition. It creates a kernel thread for each exported aoe target. Since it reuses all the goodies in softraid upon reboot the metadata is discovered and therefore the partition is exported at boot time. ok tedu dlg | |||||
| * | Add generic sr_scsi_done function that does the spl dance | 2008-11-25 | 1 | -4/+14 | ||
| | | ||||||
| * | Halt scanning by returning proper sense for illegal LUN. | 2008-11-25 | 1 | -1/+14 | ||
| | | ||||||
| * | softraid support for ata over ethernet (aoe). this includes a client and | 2008-11-23 | 1 | -1/+66 | ||
| | | | | | | | part of a server. there's no configuration yet, and several other drawbacks, but it can be hammered into shape. i haven't moved the code forward in a year, and marco wants it in the tree to hack on. | |||||
| * | missing newline in printf; Thomas Pfaff | 2008-11-23 | 1 | -2/+2 | ||
| | | ||||||
| * | Fix various printf constructs either missing arguments or format specifiers. | 2008-10-11 | 1 | -7/+7 | ||
| | | ||||||
| * | Make sure some possibly uninitialized local variables are assigned correct | 2008-09-22 | 1 | -2/+2 | ||
| | | | | | | | values in all cases. ok marco@ | |||||
| * | Add curproc to ioctl call. | 2008-07-21 | 1 | -4/+4 | ||
| | | | | | Noticed by todd, proded by miod. | |||||
| * | fill in variant and version components of the UUID | 2008-07-20 | 1 | -7/+17 | ||
| | | | | | pretty-print the UUID in RFC4122 form | |||||
| * | Full rewrite of metadata handling. This fixes power failures and crashes | 2008-07-19 | 1 | -1093/+1241 | ||
| | | | | | | | | | | | | | | | | | 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 | |||||
| * | use pools for the uio and iovec allocations in sr_crypto_getcryptop() | 2008-06-25 | 1 | -1/+21 | ||
| | | | | | | | instead of malloc; OK hshoexer@ and macro@ | |||||
| * | Provide a status field for operations on the bc_opaque data. Now we're | 2008-06-14 | 1 | -1/+9 | ||
| | | | | | | | | able to distinguish cleanly an failing ioctl (ie. return value -1) from trying to retrieve a KDF hint from a not yet initialized volume. ok marco djm | |||||
| * | Update bioctl(8) and softraid(4) to recent changes and enable softraid | 2008-06-14 | 1 | -3/+1 | ||
| | | | | | | | crypto. It's still considered experimental! ok djm marco | |||||
| * | When assembling an already initialized crytpo softraid, correctly copy in | 2008-06-13 | 1 | -4/+6 | ||
| | | | | | | | | | | mask key from userland. Thus, modify sr_crypto_get_kdf() do correclty handle copying kdf hint and/or mask key. While there, remove superflous sr_read_meta(). ok marco djm | |||||
| * | make sure to check that a crypto volume is not yet assembled when | 2008-06-12 | 1 | -11/+10 | ||
| | | | | | | | | | retrieving the kdf blobb. Pointed out by marco. while there, use %lld instead of %d when printing b_blkno, which daddr64_t. ok marco | |||||
| * | Clead discipline pointer after delete. Found by hshoexer | 2008-06-12 | 1 | -3/+9 | ||
| | | ||||||
| * | Get mask keying for on-disk keys from user space and keep a "hint" for key | 2008-06-12 | 1 | -7/+31 | ||
| | | | | | | | | | | generation used by user space in the meta data. Actually use the masking key for encryption and decryption of on-disk key at run time. ok djm marco | |||||
| * | Be more paranoid before disestablishing hook | 2008-06-12 | 1 | -2/+3 | ||
| | | | | | ok hshoexer | |||||
| * | Add delete volume functionality. | 2008-06-12 | 1 | -1/+45 | ||
| | | | | | | discussed with krw, kettenis & drahn ok hshoexer | |||||
| * | Move first pieces of crypto softraid into the tree. Still totally | 2008-06-11 | 1 | -6/+14 | ||
| | | | | | | | disabled, of course, and still work in progress. help by djm@, ok marco@ | |||||
| * | rename arc4random_bytes => arc4random_buf to match libc's nicer name; | 2008-06-09 | 1 | -2/+2 | ||
| | | | | | ok deraadt@ | |||||
| * | fix bad printf if metadata clearing failed | 2008-04-02 | 1 | -2/+2 | ||
| | | | | | | | from Rainer Giedat ok marco@ | |||||
| * | Add myself to the copyrights, ok marco@ | 2008-02-15 | 1 | -1/+2 | ||
| | | ||||||
| * | Actually implement the crypto. | 2008-02-14 | 1 | -28/+6 | ||
| | | | | | ok tedu@ marco@ | |||||
