Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-09-11 | KNF | Gilles Chehade | |
prompted and "much better" by marco@, ok pyr@ | |||
2007-09-08 | more M_ZERO changes | Gilles Chehade | |
ok pyr@ and krw@ | |||
2007-06-24 | rework sensor tasks to use the kernels generic workq rather than a special | David Gwynne | |
kernel thread of its own. the api has changed (which will be fixed in the manpage shortly) so all the users of sensor tasks that i can find have been fixed too. noone tested, so its going in to force people to run with it. "put it in" deraadt@ | |||
2007-06-06 | correct format strings for large types; ok marco | Theo de Raadt | |
2007-06-05 | Shuffle calculation of physical block so that bounds checking is not off by | Marco Peereboom | |
48 blocks (metadata + metdata offset). Found by drahn. Fix panic message while in the same area. Help from otto who wrote a diff that worked around the issue. ok deraadt | |||
2007-06-05 | consistently use one variable instead of deriving it repeatedly | Todd T. Fries | |
from and ok marco@ | |||
2007-06-05 | use six new macros to access & store the 48-bit disklabel fields related | Theo de Raadt | |
to size. tested on almost all machines, double checked by miod and krw next comes the type handling surrounding these values | |||
2007-06-04 | use S_IFCHR instead of S_IFBLK to shut the SCSI midlayer up during | Marco Peereboom | |
autoconf. ok drahn@ | |||
2007-06-03 | put raidc inside ifdef CRYPTO, since it won't work without it | Ted Unangst | |
2007-06-03 | shuffle the raid 1 specific functions to be all together and closer | Ted Unangst | |
to the bottom, after common functions. ok marco | |||
2007-06-03 | virtual device drivers tend not to need machine/bus.h. also important | Theo de Raadt | |
because mvme68k (and perhaps others) do not have it. showed it to dlg who just shook his head | |||
2007-06-03 | During autoassemble get the actual raid level instead of always 1. | Marco Peereboom | |
Sprinkle debug throughout crypto discipline. Various knf, bad tedu! | |||
2007-06-02 | Disable crypto until we figure out proper key management and other stuff | Marco Peereboom | |
only tedu understands. | |||
2007-06-02 | Fix collision by not adding data length but blocks instead. | Marco Peereboom | |
Some clean up. | |||
2007-06-02 | Add optional metadata element. This will be needed in the future for | Marco Peereboom | |
certain disciplines. | |||
2007-06-02 | Redo the sense mechanism to become autosense instead of request sense. | Marco Peereboom | |
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). | |||
2007-06-01 | check return value of findblkmajor; this fixes a crash on vax during boot. | Marco Peereboom | |
add check for failed geteblk. exclude rx during boot probe. help miod todd ok todd | |||
2007-06-01 | Add additional flag to indicate that we have a metdadata io pending; this | Marco Peereboom | |
way if we shut down the system we can make sure that it makes it onto disk before scsibus detach. ok dlg | |||
2007-06-01 | Check return code for resource allocation. | Marco Peereboom | |
prompted by tedu | |||
2007-06-01 | save metdata in context using dlg and tedu's shiny new workq api. | Marco Peereboom | |
detect stale metadata during bringup. | |||
2007-05-31 | Redo the syncer to be a little smarter on interaction while shutting down | Marco Peereboom | |
the system help and ok tedu | |||
2007-05-31 | Fix redundancy for RAID 1. Now one can pull a disk and continue running. | Marco Peereboom | |
help from drahn | |||
2007-05-31 | - zap unnecessary rv variable | Alexander von Gernler | |
- sprinkle an XXX to remember that we have to supply a serious key later ok tedu@ | |||
2007-05-30 | Make sure that if there are staggered syncs that they complete successfully | Marco Peereboom | |
before detaching the scsi bus. ok dlg | |||
2007-05-30 | Remove ugly print and don't panic when doing a partial bringup. | Marco Peereboom | |
2007-05-30 | Sync after the metadata is saved. | Marco Peereboom | |
2007-05-30 | add basic support for a crypto(9) backed raid C discipline | Ted Unangst | |
ok marco | |||
2007-05-29 | Add dirty bit for volumes | Marco Peereboom | |
2007-05-29 | sprinkle some SMALL_KERNEL so that it can run on boot media. | Marco Peereboom | |
ok todd | |||
2007-05-29 | Add shutdownhook for all disciplines | Marco Peereboom | |
2007-05-29 | Kill stale comment | Marco Peereboom | |
2007-05-29 | Fix race in sync code. | Marco Peereboom | |
2007-05-29 | Re-add sync. | Marco Peereboom | |
ok tedu | |||
2007-05-29 | Sparc64 does not like 32 bit pointers. Bad me. | Marco Peereboom | |
help tedu ok todd | |||
2007-05-28 | Make disk assembly smarter and add two qualifiers to it: | Marco Peereboom | |
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 | |||
2007-05-27 | hack to not open cd & fd devices since they complain at boot time when there | Marco Peereboom | |
is no media in them. ok tedu | |||
2007-05-26 | better spacing | Marco Peereboom | |
2007-05-26 | get size from disklabel, d_psize will remain "swap only" | Ted Unangst | |
ok marco | |||
2007-05-26 | Oops reintroduce check for SR_MAGIC to ensure that we care about metadata; | Marco Peereboom | |
not doing so resulted in a partial bringup of a volume that was being created; | |||
2007-05-26 | Assemble disks at boot time. This is not complete yet since it does not | Marco Peereboom | |
order and roams volumes yet but is useful enough in most environments. | |||
2007-05-24 | create separate function to validate metadata. | Marco Peereboom | |
remove seeding of checksums. | |||
2007-05-23 | Remove all vnode dependencies so that we can bootstrap softraid volumes. | Marco Peereboom | |
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 | |||
2007-05-12 | Add initial bits for assembly at boot time. | Marco Peereboom | |
2007-05-08 | Assemble disk from user supplied metadata. | Marco Peereboom | |
Verify all metada to make sure it is correct; this includes sorting the chunks Add 2 new functions for printing uuid and metadata. | |||
2007-05-02 | Make meta_read use the metadata memory that is provided in the discipline. | Marco Peereboom | |
2007-05-02 | Add a function to free all discipline members and the discipline itself. | Marco Peereboom | |
Move allocation of "in memory copy" of metadata into the new function. | |||
2007-05-01 | Refactor metadata code; this is the first step to be able to bringup | Marco Peereboom | |
devices at boot time. Reset the metadata versions to 1 until this solidifies we wont change these. | |||
2007-04-30 | ';;' doesnt work on older gcc.. | Todd T. Fries | |
i.e. my sparc and vax and m68k couldn't build this problem found by me, fix by pedro ok marco@ | |||
2007-04-23 | Add initial test for existing metadata on chunks. | Marco Peereboom | |
2007-04-23 | Add interesting runtime stats. | Marco Peereboom | |