Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | attach softraid to the root of the device tree in a machine independant | 2007-03-19 | 1 | -6/+0 | ||
| | | | | | | | | way, rather than requiring some glue in each machines mainbus probe. it is still commented out. based on a discussion with miod@ ok marco@ deraadt@ | |||||
* | Add a new device that provides a framework for IO manipulation. A very basic | 2007-03-19 | 1 | -0/+1307 | ||
implementation of a RAID 1 is included in this but it does not deal with failures yet. Disabled in GENERIC. Suggestions from and ok beck@ miod@ krw@ dlg@ deraadt@ |