summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid_raid5.c
AgeCommit message (Expand)AuthorFilesLines
2020-03-26Prevent NULL dereference in passing result of dma_alloc() with NO_WAITtobhe1-1/+3
2019-08-08softraid(4): tsleep(9) -> tsleep_nsec(9); ok kn@cheloha1-3/+3
2019-05-11Kill an unused done: label and the associated superfluous "return;"krw1-3/+1
2016-10-07Using '4' as the max # of ccb's in a work unit doesn't work so wellkrw1-2/+3
2016-05-31Provide a function for calculting the rebuild percentage, rather thanjsing1-14/+4
2016-04-12No need to rescan chunks in each discipline to find appropriatekrw1-11/+1
2016-04-04Enable creation of softraid volumes using disks with non-512 bytekrw1-1/+11
2015-07-21A few more daddr_t fixes. Rename 'phys_off' variables to 'offset'krw1-11/+11
2015-07-19Remove unneeded #include <disklabel.h>.krw1-2/+1
2015-07-19Stop passing daddr_t parameters for lengths. Use long since that's the typekrw1-10/+11
2015-07-19Stop adding and subtracting data offset. Just keep to chunk relativekrw1-7/+4
2015-05-29Nuke annoying whitespace nits to shrink some future diffs.krw1-2/+2
2015-04-11Add support for restarting rebuilds on RAID 5.jsing1-4/+20
2014-11-18move arc4random prototype to systm.h. more appropriate for most codetedu1-2/+1
2014-09-14remove uneeded proc.h includesjsg1-2/+1
2014-01-23Add support for rebuilding a RAID5 volume. Lots of testing is stilljsing1-2/+136
2014-01-22Assert copyright.jsing1-1/+2
2014-01-22Do not attempt to handle rebuild work units in the RAID5 work unitjsing1-2/+3
2014-01-22Allocate two work units for use by rebuild/scrub.jsing1-4/+6
2014-01-22Move sr_dump from the RAID5 code into shared code. Rename it tojsing1-22/+1
2014-01-22Handle the case where a chunk is in a rebuild state during writes.jsing1-6/+29
2014-01-22Switch metadata saves from the system workq to the system taskq.jsing1-3/+4
2014-01-21Order the volume state transitions by state value.jsing1-12/+12
2014-01-21Add missing states to the RAID 5 volume transitions.jsing1-1/+13
2014-01-21Factor out and fix the RAID5 write functionality.jsing1-36/+119
2014-01-19Improve some comments and wrap a long line.jsing1-6/+11
2014-01-19Only schedule the read workunit if there are actually I/O ccbs enqueuedjsing1-8/+12
2014-01-19Factor out and improve the block regeneration code.jsing1-26/+58
2014-01-18Move the block get/put routines into the common code, instead of havingjsing1-22/+6
2014-01-18Rename softraid RAIDP to softraid RAID5.jsing1-0/+694