summaryrefslogtreecommitdiffstats
path: root/sys/dev/raidframe/rf_disks.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Put raidframe in the attic.jsing2012-04-061-1198/+0
|
* Make RAIDFRAME compilepea2011-04-141-2/+2
| | | | ok miod@
* The only sensible argument for VOP_* calls that take a struct proc pointer isoga2010-09-231-2/+2
| | | | | | | | | | | | | | | | | | curproc. A bunch of callers were passing in 0 (not even NULL, 0) as this pointer, which was fine until the called vnode function tried to do something with it. Typically, this code was then copy/pasted to various parts of the tree. Accept the facts of life and switch all of these over to passing curproc for now until the argument can be removed. Discovered by stsp trying to create a softraid on top of a vnd, which crashed with a NULL deref in vndioctl. softraid bits tested by mikeb and jsing. raidframe bits tested by pea, matthieu and naddy. The rest tested by at least thib, jsing and myself. ok thib@, jsing@.
* missing dkio.h includes; ok krw@naddy2010-05-231-1/+2
|
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* use six new macros to access & store the 48-bit disklabel fields relatedderaadt2007-06-051-3/+3
| | | | | to size. tested on almost all machines, double checked by miod and krw next comes the type handling surrounding these values
* Get rid of another potentially unsafe pattern of foo[strlen(foo) - 1] = ...cloder2006-10-131-2/+2
| | | | OK krw, deraadt
* on behalf of tdeval@:henning2003-11-271-13/+13
| | | | | fix several errnous error messages (hah) partitially from PR3566
* strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.ho2003-04-271-4/+6
|
* Temporary fix for PR#3069 (thanks for the report, Alex Cichowski), untiltdeval2003-01-191-6/+2
| | | | | I find time to really follow all cases. At least it works here, and doesn't add new problems, it seems.
* Major KNF. Incentive from Tedutdeval2002-12-161-416/+448
|
* sync RAIDframe with Gre Oster's work for NetBSD.peter2000-08-081-61/+341
| | | | | | | | | | | | | | | | | | | This update incorporates changes since January 2000. RAID1 and RAID5 tested for functionality matching the 2.7 code. A number of bug fixes (including stopping a parity rebuild when unconfiguring) have been included. See Greg's RAIDframe info page: http://www.cs.usask.ca/staff/oster/raid.html The RAID_AUTOCONFIG feature set does *NOT* yet work. These features require more work throughout the boot system and as such are a big task. IMPORTANT: As with anything that is this near live data on your systems, please test carefully with existing configurations before deploying in a live system. Feedback via sendbug or mail direct to peter@wonderland.org is appreciated.
* sync with NetBSDpeter2000-01-111-5/+3
| | | | | | | | | | | - removed threadid stuff - removed unused files - general tidyup - you can no longer configure the same unit twice (without de-configuring first of course). Again, this has only been tested locally on IDE disks. Further testing and feedback would be appreciated.
* sync with work by Greg Oster on NetBSDpeter2000-01-071-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | Please note: This update has *only* been tested on i386 with IDE disks. Could someone with a spare box please make sure all is OK with SCSI and maybe other arches ? sparc testing will follow locally. * remove rf_sys.h * many changes to make it more stable * some performance increases * All raid threads now get their own kernel process and the calling raidctl(8) program will show status progress through a meter. * In theory FFS_SOFTUPDATES and RAIDframe will now work together - NOT TESTED YET See http://www.cs.usask.ca/staff/oster/raid.html This updates include Greg's changes to Jan 4th 2000. TODO: * some odd behaviour when running raictl -c on an already config'ed raid set - problem founf, fix being done * progress meter is in raidctl(8) - seperate commit, but could do with sync'ing with OpenBSD ftp version
* Update RAIDframe from NetBSD-current as of 1999/07/26.peter1999-07-301-182/+593
| | | | | | | | Please note that you *must* follow the upgrade instructions at http://www.cs.usask.ca/staff/oster/clabel_upgrade.html before installing the new raidctl and new kernel using this code.
* Merge from NetBSD, mostly indentationniklas1999-02-161-504/+338
|
* Import of CMU's RAIDframe via NetBSD.niklas1999-01-111-0/+651