| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Add optional metadata element. This will be needed in the future for | 2007-06-02 | 1 | -1/+6 | ||
| | | | | | certain disciplines. | |||||
| * | Redo the sense mechanism to become autosense instead of request sense. | 2007-06-02 | 1 | -36/+22 | ||
| | | | | | | | | General cleanup in the sense code. This was prompted by grunk. He found that out of bounds conditions were knocking disks offline (which was obviously a bug). | |||||
| * | check return value of findblkmajor; this fixes a crash on vax during boot. | 2007-06-01 | 1 | -2/+8 | ||
| | | | | | | | | | add check for failed geteblk. exclude rx during boot probe. help miod todd ok todd | |||||
| * | Add additional flag to indicate that we have a metdadata io pending; this | 2007-06-01 | 1 | -3/+12 | ||
| | | | | | | | | way if we shut down the system we can make sure that it makes it onto disk before scsibus detach. ok dlg | |||||
| * | Check return code for resource allocation. | 2007-06-01 | 1 | -6/+12 | ||
| | | | | | prompted by tedu | |||||
| * | save metdata in context using dlg and tedu's shiny new workq api. | 2007-06-01 | 1 | -5/+27 | ||
| | | | | | detect stale metadata during bringup. | |||||
| * | Redo the syncer to be a little smarter on interaction while shutting down | 2007-05-31 | 1 | -5/+16 | ||
| | | | | | | | the system help and ok tedu | |||||
| * | Fix redundancy for RAID 1. Now one can pull a disk and continue running. | 2007-05-31 | 1 | -18/+98 | ||
| | | | | | help from drahn | |||||
| * | - zap unnecessary rv variable | 2007-05-31 | 1 | -5/+5 | ||
| | | | | | | | - sprinkle an XXX to remember that we have to supply a serious key later ok tedu@ | |||||
| * | Make sure that if there are staggered syncs that they complete successfully | 2007-05-30 | 1 | -1/+7 | ||
| | | | | | | | before detaching the scsi bus. ok dlg | |||||
| * | Remove ugly print and don't panic when doing a partial bringup. | 2007-05-30 | 1 | -5/+4 | ||
| | | ||||||
| * | Sync after the metadata is saved. | 2007-05-30 | 1 | -3/+13 | ||
| | | ||||||
| * | add basic support for a crypto(9) backed raid C discipline | 2007-05-30 | 1 | -41/+453 | ||
| | | | | | ok marco | |||||
| * | Add dirty bit for volumes | 2007-05-29 | 1 | -6/+12 | ||
| | | ||||||
| * | sprinkle some SMALL_KERNEL so that it can run on boot media. | 2007-05-29 | 1 | -6/+16 | ||
| | | | | | ok todd | |||||
| * | Add shutdownhook for all disciplines | 2007-05-29 | 1 | -15/+65 | ||
| | | ||||||
| * | Kill stale comment | 2007-05-29 | 1 | -2/+1 | ||
| | | ||||||
| * | Fix race in sync code. | 2007-05-29 | 1 | -7/+10 | ||
| | | ||||||
| * | 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 | ||
| | | ||||||
