| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Re-add sync. | 2007-05-29 | 1 | -12/+19 | ||
| | | | | | ok tedu | |||||
| * | Sparc64 does not like 32 bit pointers. Bad me. | 2007-05-29 | 1 | -2/+4 | ||
| | | | | | | help tedu ok todd | |||||
| * | Make disk assembly smarter and add two qualifiers to it: | 2007-05-28 | 1 | -18/+123 | ||
| | | | | | | | | | | | | | | 1) noautoassemble; when set the softraid volume will not be assembled during autoconf. 2) force; when set it will overwrite metadata on disk While writing this I ran into 3 bugs that were fixed along the way 1) bcopy in sr_read_meta was copying data to the wrong pointer 2) in sr_read_meta the wrong metadata was coppied into the chunk 3) sr_free_discipline was freing a pointer that wasn't malloc'd ok dlg | |||||
| * | hack to not open cd & fd devices since they complain at boot time when there | 2007-05-27 | 1 | -3/+9 | ||
| | | | | | | | is no media in them. ok tedu | |||||
| * | better spacing | 2007-05-26 | 1 | -5/+8 | ||
| | | ||||||
| * | get size from disklabel, d_psize will remain "swap only" | 2007-05-26 | 1 | -13/+15 | ||
| | | | | | ok marco | |||||
| * | Oops reintroduce check for SR_MAGIC to ensure that we care about metadata; | 2007-05-26 | 1 | -2/+5 | ||
| | | | | | not doing so resulted in a partial bringup of a volume that was being created; | |||||
| * | Assemble disks at boot time. This is not complete yet since it does not | 2007-05-26 | 1 | -14/+97 | ||
| | | | | | order and roams volumes yet but is useful enough in most environments. | |||||
| * | create separate function to validate metadata. | 2007-05-24 | 1 | -89/+136 | ||
| | | | | | remove seeding of checksums. | |||||
| * | Remove all vnode dependencies so that we can bootstrap softraid volumes. | 2007-05-23 | 1 | -188/+94 | ||
| | | | | | | | | | | | | Code from tedu. Replace all kernel string magic with dev_t passed in from bioctl. Suggestion from beck and tedu. Help from miod. Fix chunk crc. ok tedu | |||||
| * | Add initial bits for assembly at boot time. | 2007-05-12 | 1 | -2/+106 | ||
| | | ||||||
| * | Assemble disk from user supplied metadata. | 2007-05-08 | 1 | -76/+254 | ||
| | | | | | | Verify all metada to make sure it is correct; this includes sorting the chunks Add 2 new functions for printing uuid and metadata. | |||||
| * | Make meta_read use the metadata memory that is provided in the discipline. | 2007-05-02 | 1 | -13/+8 | ||
| | | ||||||
| * | Add a function to free all discipline members and the discipline itself. | 2007-05-02 | 1 | -12/+24 | ||
| | | | | | Move allocation of "in memory copy" of metadata into the new function. | |||||
| * | Refactor metadata code; this is the first step to be able to bringup | 2007-05-01 | 1 | -160/+247 | ||
| | | | | | | | | devices at boot time. Reset the metadata versions to 1 until this solidifies we wont change these. | |||||
| * | ';;' doesnt work on older gcc.. | 2007-04-30 | 1 | -2/+2 | ||
| | | | | | | | i.e. my sparc and vax and m68k couldn't build this problem found by me, fix by pedro ok marco@ | |||||
| * | Add initial test for existing metadata on chunks. | 2007-04-23 | 1 | -4/+72 | ||
| | | ||||||
| * | Add interesting runtime stats. | 2007-04-23 | 1 | -1/+47 | ||
| | | ||||||
| * | Keep track of coerced chunk sizes. | 2007-04-23 | 1 | -6/+6 | ||
| | | ||||||
| * | Calculate metadata checksums. | 2007-04-22 | 1 | -4/+27 | ||
| | | | | | Add chunks to debug prints. | |||||
| * | Add more debug output for metadata. | 2007-04-22 | 1 | -7/+33 | ||
| | | | | | Spacing as well. | |||||
| * | Don't use SBLOCK_UFS1. Don't call it SKIP either. | 2007-04-22 | 1 | -4/+4 | ||
| | | | | | Pompted by deraadt | |||||
| * | Skip past SBLOCK_UFS1 to make sure that metadata does not destroy anything | 2007-04-22 | 1 | -7/+8 | ||
| | | | | | | | filesystem related. pointed out by deraadt | |||||
| * | Make sure we don't write too much metadata. | 2007-04-21 | 1 | -4/+11 | ||
| | | ||||||
| * | Remove big endian in metadata; prompted by deraadt. | 2007-04-21 | 1 | -6/+1 | ||
| | | | | | Align metadata to 64 bit; from deraadt. | |||||
| * | Account for mbr and partition table when writing meta data. | 2007-04-21 | 1 | -4/+5 | ||
| | | | | | Error report by Johan Mson Lindman <tybollt@solace.miun.se> | |||||
| * | Add volumes to sensors. | 2007-04-21 | 1 | -2/+82 | ||
| | | ||||||
| * | Save volume and chunk metadata as well. | 2007-04-19 | 1 | -4/+40 | ||
| | | ||||||
| * | Add initial metadata write function and hook it up. | 2007-04-19 | 1 | -5/+129 | ||
| | | ||||||
| * | Silly tedu, partitions are measured in blocks not in bytes. | 2007-04-19 | 1 | -2/+2 | ||
| | | ||||||
| * | Whenever there are mutliple outstanding IOs a chunk can transtion multiple | 2007-04-17 | 1 | -1/+6 | ||
| | | | | | | | times to the same state. Ignore that. Tested by thib@ | |||||
| * | Shuffle ccb contents and clean up a loop | 2007-04-17 | 1 | -19/+21 | ||
| | | ||||||
| * | shave some blocks off each chunk to make sure disklabel doesn't get eaten | 2007-04-14 | 1 | -4/+6 | ||
| | | | | | | this can also be used for softraid metadata ok marco | |||||
| * | Add degraded raid 1 io path code | 2007-04-14 | 1 | -29/+69 | ||
| | | ||||||
| * | Add failure statistics per workunit. | 2007-04-12 | 1 | -31/+28 | ||
| | | | | | | Remove BIOC_SFAILED; we'll only use BIOC_SOFFLINE. Call state change in interrupt handler when a chunk fails. | |||||
| * | Remove stale comment. | 2007-04-11 | 1 | -2/+2 | ||
| | | ||||||
| * | Fix thinko where vol was used instead of i (scsibus). | 2007-04-11 | 1 | -3/+3 | ||
| | | ||||||
| * | Add infrastructure to run with multiple openings. | 2007-04-11 | 1 | -15/+105 | ||
| | | ||||||
| * | Move offline state up in priority over degraded. | 2007-03-31 | 1 | -11/+13 | ||
| | | | | | Various cleanups in state functions. | |||||
| * | Fix bio disk lookup and make it more paranoia with provided parameters. | 2007-03-31 | 1 | -7/+9 | ||
| | | | | | Clean up a little while there. | |||||
| * | Spacing and a stale comment. | 2007-03-31 | 1 | -3/+1 | ||
| | | ||||||
| * | Make volume state transitions work | 2007-03-30 | 1 | -12/+55 | ||
| | | ||||||
| * | Calculate proper offset in partition table. | 2007-03-30 | 1 | -5/+6 | ||
| | | ||||||
| * | First stab at state transition code for volumes and chunks. | 2007-03-27 | 1 | -20/+244 | ||
| | | | | | | | Minor cleanup as well. prodded by jordan | |||||
| * | typos in comments | 2007-03-26 | 1 | -3/+3 | ||
| | | ||||||
| * | fix the vnode locking | 2007-03-24 | 1 | -8/+12 | ||
| | | | | | ok marco pedro | |||||
| * | Hook up sd ioctl. | 2007-03-20 | 1 | -2/+2 | ||
| | | ||||||
| * | Fake out target id for bioc_disk. | 2007-03-20 | 1 | -1/+2 | ||
| | | ||||||
| * | the autoconf glue funcs (match/attach/etc) are only used inside softraid.c, | 2007-03-19 | 1 | -18/+20 | ||
| | | | | | | | | | | so prototype them there rather than in softraidvar.h. shuffle these funcs a little bit while here to make it look more like everything else. ok marco@ | |||||
| * | Fix keyword expansion. | 2007-03-19 | 1 | -1/+1 | ||
| | | | | | ok marco | |||||
