Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-03 | Check the return value of copyin(). | Joel Sing | |
ok marco@ | |||
2009-09-03 | Don't call VOP_CLOSE() with a null pointer, if the VOP_OPEN() call failed. | Joel Sing | |
ok marco@ | |||
2009-08-17 | the null check makes more sense when it's done before deref | Martynas Venckus | |
ok marco@, jsing@ | |||
2009-08-09 | Switch softraid to vnodes to prevent bad things from happening when using | Marco Peereboom | |
d_open/d_close. tested by many, ok jsing, thib, krw | |||
2009-07-31 | Factor out code for checking if a chunk is already in use. | Joel Sing | |
ok marco@ | |||
2009-07-23 | Adding disabled framework for RAID6 | Jordan Hargrave | |
ok marco@ | |||
2009-07-12 | Assert copyright. | Joel Sing | |
suggested by and ok marco@ | |||
2009-07-12 | Fix rebuild percentage so that it ranges from 0-99% rather than 1-100%. | Joel Sing | |
ok marco@ | |||
2009-07-12 | Add support for global hotspares to softraid. | Joel Sing | |
ok marco@ | |||
2009-07-12 | If devices have roamed, complain once then update the metadata, just like | Joel Sing | |
we do for roaming volumes. ok marco@ | |||
2009-07-11 | Ensure that we hold the appropriate lock before calling | Joel Sing | |
sr_ioctl_createraid(). ok marco@ | |||
2009-07-09 | Be sure we don't hit a NULL deref. Pointed out by | Marcus Glocker | |
remco at d-compu dot dyndns dot org. OK marco@ | |||
2009-06-26 | Overhaul sr_boot_assembly(). The original code had a number of problems, | Joel Sing | |
including a "chunk id already in use" bug that occurred when assembling more than one volume at boot. Volumes are now kept in order, as are the chunks which they are assembled from. Duplicated chunk IDs are now handled appropriately, with the chunk that has the most recent ondisk metadata being used. Also tested by nicm@ who got bitten by the "chunk id already in use" bug. ok marco@ | |||
2009-06-24 | Reset the rebuild counter when initiating a rebuild. | Joel Sing | |
ok marco@ | |||
2009-06-24 | Abort the current rebuild if the rebuild chunk disappears. Whilst here also | Joel Sing | |
rename the abort flag so that it is more generalised. ok marco@ | |||
2009-06-23 | Make sure that the metadata level matches the requested assembly level when | Joel Sing | |
creating a volume. ok marco@ | |||
2009-06-23 | Fix some more whitespace issues. | Joel Sing | |
2009-06-19 | Either jordan or jsing left some debug prints behind. tsk tsk. | Marco Peereboom | |
pointed out by todd. | |||
2009-06-18 | Check the set state status rather than always assuming a rebuild has been | Joel Sing | |
requested. Also move the rebuild initialisation code into a separate function whilst here. ok marco@ | |||
2009-06-18 | Fix some typos and whitespace issues. | Joel Sing | |
ok marco@ | |||
2009-06-17 | Enabled EXPERIMENTAL RAID4/5 discipline | Jordan Hargrave | |
ok marco@ | |||
2009-06-17 | Make openings variable instead of maxwu; needed for more exotic raid sets. | Marco Peereboom | |
ok jordan | |||
2009-06-17 | Force Raid0/4/5 volume size to multiple of stripe size | Jordan Hargrave | |
ok marco@ | |||
2009-06-12 | KNF and wrap at 80 columns. | Joel Sing | |
ok marco@ | |||
2009-06-12 | Allow chunks marked as offline to be used for rebuild (ie. once disk has | Joel Sing | |
been replaced). ok marco@ | |||
2009-06-11 | Create a hotplug callback mechanism. | Marco Peereboom | |
2009-06-10 | Typo | Marco Peereboom | |
2009-06-10 | Add framework for raid 4 & 5 so that we can work in tree. | Marco Peereboom | |
2009-06-03 | Slay the running out of wu during rebuild dragon and some cleanup | Marco Peereboom | |
2009-06-03 | whitespace. "Sure" marco@ | Chris Kuethe | |
2009-06-03 | Oops need to kill the XXX comment that we are not enabling softraid rebuild | Marco Peereboom | |
2009-06-03 | Start using the shiny new function pointer to determine if we have disk | Marco Peereboom | |
arrivals or departures. | |||
2009-06-03 | Make sure we don't stomp on a RAID partition that is already in use. | Marco Peereboom | |
Code is now enabled and ready for general testing. | |||
2009-06-02 | Abuse bio layer a little less by marking fake buffers with B_PHYS. | Marco Peereboom | |
From beck with lots of squealing and ear bleeds. Issue originally reported by todd. ok beck | |||
2009-06-02 | space | Marco Peereboom | |
2009-06-02 | Make rebuilds restartable over reboots. | Marco Peereboom | |
Abort rebuild and drain IO when shutting down. | |||
2009-06-02 | Fix some minor format string problems found in a maze of false positives | Theo de Raadt | |
provided by Parfait ok oga | |||
2009-06-02 | Add an identifier that tells us if we can rebuild this discipline. | Marco Peereboom | |
KNF & spelling too | |||
2009-06-02 | First bits for rebuild. Disabled for now. | Marco Peereboom | |
2009-05-30 | Bring up raid sets that have missing memebers. | Marco Peereboom | |
2009-05-11 | When probing for softraid chunks, ensure that a chunk has a valid metadata | Joel Sing | |
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@ | |||
2009-05-11 | Move the discipline initialisation code into discipline specific functions, | Joel Sing | |
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@ | |||
2009-04-29 | Use NO_CCB when we run out of work units. This way we don't have to care | Marco Peereboom | |
about having enough WU + CCB during rebuilds. This also brings softraid closer to behaving like the other SCSI devices. | |||
2009-04-28 | Move discipline pointer init into its own function | Marco Peereboom | |
2009-04-28 | Part one of partial bringup volumes. Plenty of rope to kill your data | Marco Peereboom | |
use with caution... | |||
2009-04-26 | KNF, typo and an uninteresting if(&=) instead of if(&) bug in debug code | Marco Peereboom | |
2009-02-16 | Extend the scsi_adapter minphys() callback to take a struct scsi_link * | Miod Vallat | |
as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary. | |||
2008-12-24 | This creates the notion of a non-disk softraid device. The aoe target | Marco Peereboom | |
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 | |||
2008-11-25 | Add generic sr_scsi_done function that does the spl dance | Marco Peereboom | |
2008-11-25 | Halt scanning by returning proper sense for illegal LUN. | Marco Peereboom | |