The NetBSD Project

CVS log for src/sys/dev/raidframe/rf_disks.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / raidframe

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.95 / (download) - annotate - [select for diffs], Mon Sep 25 16:16:50 2023 UTC (5 months ago) by oster
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.94: +5 -5 lines
Diff to previous 1.94 (colored)

snprintf() should really include a format.

Revision 1.94 / (download) - annotate - [select for diffs], Sun Sep 17 20:07:39 2023 UTC (5 months, 1 week ago) by oster
Branch: MAIN
Changes since 1.93: +205 -49 lines
Diff to previous 1.93 (colored)



Implement hot removal of spares and components.  From manu@.

Implement a long desired feature of automatically incorporating
a used spare into the array after a reconstruct.

Given the configuration:
Components:
           /dev/wd0e: failed
           /dev/wd1e: optimal
           /dev/wd2e: optimal
Spares:
           /dev/wd3e: spare

Running 'raidctl -F /dev/wd0e raid0' will now result in the
following configuration after a successful rebuild:
Components:
           /dev/wd3e: optimal
           /dev/wd1e: optimal
           /dev/wd2e: optimal
No spares.

Thanks to manu@ for the development of the initial set of changes
which allowed the changes to automatically incorporate a used spare
to come to fruition.  Thanks also to manu@ for useful discussions
about and additional testing of these changes.

Revision 1.91.4.1 / (download) - annotate - [select for diffs], Fri Aug 12 15:18:13 2022 UTC (18 months, 2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.91: +8 -8 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

Pull up following revision(s) (requested by mrg in ticket #1500):

	sys/dev/raidframe/rf_driver.c: revision 1.140 (patch)
	sys/dev/raidframe/rf_disks.c: revision 1.93 (patch)
	sys/dev/raidframe/rf_netbsdkintf.c: revision 1.408 (patch)

raidframe: reject invalid values for numCol and numSpares

numCol and numSpares are "int" so they can be "-1" internally,
which means negative values need to be rejected, as well as
values higher than RF_MAXCOL/RF_MAXSPARES.
explicitly nul-terminate all strings coming from userland.


some minor CSE that avoids signed arith.

this fixes issues in the RAIDFRAME_ADD_HOT_SPARE,
RAIDFRAME_CONFIGURE, RAIDFRAME_DELETE_COMPONENT,
RAIDFRAME_INCORPORATE_HOT_SPARE, and RAIDFRAME_REBUILD_IN_PLACE
ioctl commands.


ok oster@ riastradh@

Revision 1.93 / (download) - annotate - [select for diffs], Wed Aug 10 01:16:38 2022 UTC (18 months, 2 weeks ago) by mrg
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.92: +7 -8 lines
Diff to previous 1.92 (colored)

raidframe: reject invalid values for numCol and numSpares

numCol and numSpares are "int" so they can be "-1" internally,
which means negative values need to be rejected, as well as
values higher than RF_MAXCOL/RF_MAXSPARES.

explicitly nul-terminate all strings coming from userland.

some minor CSE that avoids signed arith.

this fixes issues in the RAIDFRAME_ADD_HOT_SPARE,
RAIDFRAME_CONFIGURE, RAIDFRAME_DELETE_COMPONENT,
RAIDFRAME_INCORPORATE_HOT_SPARE, and RAIDFRAME_REBUILD_IN_PLACE
ioctl commands.

Reported-by: syzbot+b584943ad1f8ab9d4fe0@syzkaller.appspotmail.com

https://syzkaller.appspot.com/bug?id=61e07e418261f8eec8a37a9226725fe31820edd0
https://syzkaller.appspot.com/bug?id=ca0c997b40de81c0f0b44790217731f142003149
https://syzkaller.appspot.com/bug?id=6fc452d228453494655a85264591dd9054cc0b08
https://syzkaller.appspot.com/bug?id=873f0271682713a27adc9a49dd7109c70b35fda3


XXX: pullup-8, pullup-9.

ok oster@ riastradh@

Revision 1.89.16.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:11 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.89.16.1: +4 -4 lines
Diff to previous 1.89.16.1 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored)

Merge changes from current as of 20200406

Revision 1.92 / (download) - annotate - [select for diffs], Sun Dec 8 12:14:40 2019 UTC (4 years, 2 months ago) by mlelstv
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.91: +4 -4 lines
Diff to previous 1.91 (colored)

Switch to vn_bdev_open* functions.

Revision 1.89.16.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:31 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.89: +8 -10 lines
Diff to previous 1.89 (colored)

Sync with HEAD

Revision 1.91 / (download) - annotate - [select for diffs], Sat Feb 9 03:34:00 2019 UTC (5 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.90: +7 -9 lines
Diff to previous 1.90 (colored)

- Change the allocation macros to be more like function calls
- Change sizeof(type) -> sizeof(*variable)
- Use macros for the long buffer length allocations
- Remove "bit polishing" memsets() -- do them only once
- Remove unnecessary casts

Thanks to oster@ for finding bugs and testing.

Revision 1.89.8.1 / (download) - annotate - [select for diffs], Fri Feb 8 16:03:04 2019 UTC (5 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

Pull up following revision(s) (requested by christos in ticket #1183):

	sys/dev/raidframe/rf_disks.c: revision 1.90

PR/53956: Havard Eidnes: raidframe fails to create raid set on disks.
The test to check if force was reversed when the code was factored out.

Revision 1.90 / (download) - annotate - [select for diffs], Fri Feb 8 13:37:46 2019 UTC (5 years ago) by christos
Branch: MAIN
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

PR/53956: Havard Eidnes: raidframe fails to create raid set on disks.
The test to check if force was reversed when the code was factored out.

Revision 1.83.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:31 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.83.2.2: +26 -27 lines
Diff to previous 1.83.2.2 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)

update from HEAD

Revision 1.87.4.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:38 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.87: +27 -28 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

Sync with HEAD

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:46 2017 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.87: +27 -28 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

Sync with HEAD

Revision 1.89 / (download) - annotate - [select for diffs], Fri Jan 13 13:01:13 2017 UTC (7 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, netbsd-8
Changes since 1.88: +10 -7 lines
Diff to previous 1.88 (colored)

more faithful to the original (from coypu)

Revision 1.88 / (download) - annotate - [select for diffs], Fri Jan 13 04:22:16 2017 UTC (7 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.87: +24 -28 lines
Diff to previous 1.87 (colored)

Don't consider a disk hosed if we did not find a column for it; dedup code.

Revision 1.87 / (download) - annotate - [select for diffs], Sat Oct 18 08:33:28 2014 UTC (9 years, 4 months ago) by snj
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, localcount-20160914
Branch point for: pgoyette-localcount, nick-nhusb
Changes since 1.86: +3 -3 lines
Diff to previous 1.86 (colored)

src is too big these days to tolerate superfluous apostrophes.  It's
"its", people!

Revision 1.83.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:49 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.83.2.1: +16 -15 lines
Diff to previous 1.83.2.1 (colored) to branchpoint 1.83 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:57 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.85: +5 -11 lines
Diff to previous 1.85 (colored) next main 1.86 (colored)

Rebase.

Revision 1.86 / (download) - annotate - [select for diffs], Sat Jun 14 07:39:00 2014 UTC (9 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.85: +5 -11 lines
Diff to previous 1.85 (colored)

Change dk_lookup() to return an anonymous vnode not associated with
any file system.  Change all consumers of dk_lookup() to get the
device from "v_rdev" instead of VOP_GETATTR() as specfs does not
support VOP_GETATTR().  Devices obtained with dk_lookup() will no
longer disappear on forced unmounts.

Fix for PR kern/48849 (root mirror raid fails on shutdown)

Welcome to 6.99.44

Revision 1.82.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:35 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.82.2.1: +12 -6 lines
Diff to previous 1.82.2.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.83.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:46 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.83: +12 -6 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

sync with head

Revision 1.85 / (download) - annotate - [select for diffs], Tue Mar 25 16:19:14 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.84: +4 -3 lines
Diff to previous 1.84 (colored)

kill sprintf

Revision 1.84 / (download) - annotate - [select for diffs], Sun Sep 15 12:44:03 2013 UTC (10 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.83: +10 -5 lines
Diff to previous 1.83 (colored)

Avoid unused variable warnings

Revision 1.83.2.1 / (download) - annotate - [select for diffs], Sun Feb 10 16:26:33 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.83: +13 -2 lines
Diff to previous 1.83 (colored)


Add an accessor -- ufs_maxphys() -- to check the maximum transfer size
for a given UFS mountpoint, and move the code from mount that finds
the underlying disk and resets the mountpoint max transfer size into a
utility function, ufs_update_maxphys().

Add a global serial number that counts disk property changes to which
filesystems are meant to accomodate themselves.  Make ufs_maxphys()
check it.  This is a sort of flag-polling interface that avoids callbacks
into the filesystem code, but will require freezing filesystems and
draining in-flight transactions before a decrease in size that is
mandatory (like attaching a disk with a smaller maximum transfer size
as a spare in a RAIDframe set), rather than "advisory", like finding
out set geometry from a RAID controller long after boot and deciding
a smaller transfer size would be optimal, can be signalled.  Still, the
"advisory" case is the common one so this is progress.

Make a bit of an example of RAIDframe by making it bump this new
serial number when disks are added to the subsystem.  I will attack
one of the hardware RAID drivers (probably arcmsr) next.

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:21:59 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.82: +4 -2 lines
Diff to previous 1.82 (colored)

sync with head

Revision 1.83 / (download) - annotate - [select for diffs], Thu Jul 19 22:47:52 2012 UTC (11 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.82: +4 -2 lines
Diff to previous 1.82 (colored)

Initialize values to squelch gcc.

from Greg Oster

Revision 1.70.10.5 / (download) - annotate - [select for diffs], Wed Jun 13 14:00:49 2012 UTC (11 years, 8 months ago) by sborrill
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Changes since 1.70.10.4: +4 -5 lines
Diff to previous 1.70.10.4 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

Pull up the following revisions(s) (requested by mrg in ticket #1774):
	sbin/raidctl/raidctl.c:			revision 1.52
	sys/dev/raidframe/raidframevar.h:	revision 1.15
	sys/dev/raidframe/rf_copyback.c:	revision 1.45
	sys/dev/raidframe/rf_disks.c:		revision 1.78
	sys/dev/raidframe/rf_netbsdkintf.c:	revision 1.282,1.284
	sys/dev/raidframe/rf_reconstruct.c:	revision 1.111

Fix garbage values in partitionSizeHi with RAID array > 2TB. Stops the check against
rf_component_label_partitionsize() failing and stopping auto-configure.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Oct 14 09:23:30 2011 UTC (12 years, 4 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.81: +6 -3 lines
Diff to previous 1.81 (colored)

Change the vnode locking protocol of VOP_GETATTR() to request at least
a shared lock.  Make all calls outside of file systems respect it.

The calls from file systems need review.

No objections from tech-kern.

Revision 1.81 / (download) - annotate - [select for diffs], Wed Aug 3 14:44:38 2011 UTC (12 years, 6 months ago) by oster
Branch: MAIN
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)


Remove unused 'struct lwp *' from rf_getdisksize.  No functional changes.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Jul 29 19:55:50 2011 UTC (12 years, 7 months ago) by oster
Branch: MAIN
Changes since 1.79: +24 -2 lines
Diff to previous 1.79 (colored)

In rf_disks.c make sure ser_values and ser_count arrays are
initialized before use.

Validate the component label before considering a component for use,
and make sure we only consider components that are optimal.

Fixes PR#44251.  All atf RAIDframe tests now pass.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:32 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.76: +15 -17 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

Sync with HEAD.

Revision 1.73.2.2 / (download) - annotate - [select for diffs], Tue May 31 03:04:53 2011 UTC (12 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.73.2.1: +11 -12 lines
Diff to previous 1.73.2.1 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

sync with head

Revision 1.79 / (download) - annotate - [select for diffs], Wed May 11 18:13:12 2011 UTC (12 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.78: +13 -14 lines
Diff to previous 1.78 (colored)

convert the main raidPtr mutex to a kmutex, and add a couple of cv's to
cover the old sleep/wakeup points for adding_hot_spare and waitForReconCond.
convert all remaining simple_lock's to kmutexes (they're not used or compiled
right now... even with all options enabled) and remove the support for them.

this leaves just a pair of tsleep()/wakeup() calls using old scheduling APIs.

Revision 1.73.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:54:03 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.73: +27 -7 lines
Diff to previous 1.73 (colored)

sync with head

Revision 1.76.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:29 2011 UTC (12 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.76.4.1: +4 -5 lines
Diff to previous 1.76.4.1 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)

Sync with HEAD

Revision 1.78 / (download) - annotate - [select for diffs], Sat Feb 19 07:11:09 2011 UTC (13 years ago) by enami
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.77: +4 -5 lines
Diff to previous 1.77 (colored)

Define accessors for number of blocks and partition size in the
component label and use them where appropriate.  Disscussed on tech-kern.

Revision 1.76.4.1 / (download) - annotate - [select for diffs], Thu Feb 17 12:00:15 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

Sync with HEAD

Revision 1.77 / (download) - annotate - [select for diffs], Sun Feb 13 06:17:35 2011 UTC (13 years ago) by enami
Branch: MAIN
CVS Tags: bouyer-quota2-base
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

Remove one of trailing whitespace which adds unnecessary difference
against netbsd-5 branch.

Revision 1.70.10.4 / (download) - annotate - [select for diffs], Fri Jan 7 23:25:59 2011 UTC (13 years, 1 month ago) by riz
Branch: netbsd-5
Changes since 1.70.10.3: +15 -5 lines
Diff to previous 1.70.10.3 (colored) to branchpoint 1.70 (colored)

Pull up following revision(s) (requested by mrg in ticket #1522):
	sys/dev/raidframe/rf_disks.c: revision 1.76
	sys/dev/raidframe/rf_netbsdkintf.c: revision 1.276
apply my patch to support non-512K sector disks (at least, upto 16KB
sector disks..)  from my tech-kern post:
the following patch let's me access both 512 byte and 4K
sector disks at the same time, as long as they are in
separate raids.  the existing rf code assumes/enforces
this part, i just made it support other sets concurrently.
the main change is moving the parity bitmap to the sector
after the component label sector(s), instead of being
immediately after the label, which meant it was on the same
sector as the label for >1024 byte devices.
i'm a little annoyed at having to add a 2nd call to
getdisksize() to enable auto-configure to work, but i
don't see another way that wasn't much uglier.

Revision 1.76 / (download) - annotate - [select for diffs], Sat Dec 4 10:01:16 2010 UTC (13 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.75: +15 -5 lines
Diff to previous 1.75 (colored)

apply my patch to support non-512K sector disks (at least, upto 16KB
sector disks..)  from my tech-kern post:


the following patch let's me access both 512 byte and 4K
sector disks at the same time, as long as they are in
separate raids.  the existing rf code assumes/enforces
this part, i just made it support other sets concurrently.

the main change is moving the parity bitmap to the sector
after the component label sector(s), instead of being
immediately after the label, which meant it was on the same
sector as the label for >1024 byte devices.

i'm a little annoyed at having to add a 2nd call to
getdisksize() to enable auto-configure to work, but i
don't see another way that wasn't much uglier.

Revision 1.70.10.3 / (download) - annotate - [select for diffs], Sun Nov 21 22:06:53 2010 UTC (13 years, 3 months ago) by riz
Branch: netbsd-5
CVS Tags: matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.70.10.2: +4 -2 lines
Diff to previous 1.70.10.2 (colored) to branchpoint 1.70 (colored)

Pull up following revision(s) (requested by mrg in ticket #1468):
	sys/dev/raidframe/rf_disks.c: revision 1.74
	sys/dev/raidframe/raidframevar.h: revision 1.14
	sys/dev/raidframe/rf_netbsdkintf.c: revision 1.275
	sys/dev/raidframe/rf_copyback.c: revision 1.43
	sys/dev/raidframe/rf_reconstruct.c: revision 1.109
add support for >2TB raid devices.
- - add two new members to the component label:
     u_int numBlocksHi
     u_int partitionSizeHi
  and store the top 32 bits of the real number of blocks and
  partition size.  modify rf_print_component_label(),
  rf_does_it_fit(), rf_AutoConfigureDisks() and
  rf_ReconstructFailedDiskBasic().
- - call disk_blocksize() after disk_attach() [ from mlelstv ]
- - shift the block number relative to DEV_BSHIFT in raidstart()
  and InitBP() so that accesses work for non 512-byte devices.
  [ from mlelstv ]
- - update rf_getdisksize() to use the new getdisksize() [ from
  mlelstv.  this part needs a separate change for netbsd-5. ]
reviewed by: oster, christos and darrenr

Revision 1.75 / (download) - annotate - [select for diffs], Fri Nov 19 06:44:40 2010 UTC (13 years, 3 months ago) by dholland
Branch: MAIN
Changes since 1.74: +12 -3 lines
Diff to previous 1.74 (colored)

Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.

Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).

The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.

Revision 1.72.2.2 / (download) - annotate - [select for diffs], Sat Nov 6 08:08:32 2010 UTC (13 years, 3 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.72.2.1: +4 -2 lines
Diff to previous 1.72.2.1 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)

Sync with HEAD.

Revision 1.74 / (download) - annotate - [select for diffs], Mon Nov 1 02:35:25 2010 UTC (13 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: uebayasi-xip-base4
Changes since 1.73: +4 -2 lines
Diff to previous 1.73 (colored)

add support for >2TB raid devices.

- add two new members to the component label:
     u_int numBlocksHi
     u_int partitionSizeHi
  and store the top 32 bits of the real number of blocks and
  partition size.  modify rf_print_component_label(),
  rf_does_it_fit(), rf_AutoConfigureDisks() and
  rf_ReconstructFailedDiskBasic().

- call disk_blocksize() after disk_attach() [ from mlelstv ]

- shift the block number relative to DEV_BSHIFT in raidstart()
  and InitBP() so that accesses work for non 512-byte devices.
  [ from mlelstv ]

- update rf_getdisksize() to use the new getdisksize() [ from
  mlelstv.  this part needs a separate change for netbsd-5. ]


reviewed by: oster, christos and darrenr

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:47 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.72: +5 -3 lines
Diff to previous 1.72 (colored)

Sync with HEAD.

Revision 1.70.10.1.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:51 2010 UTC (13 years, 10 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.70.10.1: +8 -11 lines
Diff to previous 1.70.10.1 (colored) next main 1.70.10.2 (colored)

sync to netbsd-5

Revision 1.69.10.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:01 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.69.10.2: +10 -11 lines
Diff to previous 1.69.10.2 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

sync with head

Revision 1.73 / (download) - annotate - [select for diffs], Mon Mar 1 21:10:26 2010 UTC (14 years ago) by jld
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.72: +5 -3 lines
Diff to previous 1.72 (colored)

When setting up a non-autoconfigured RAID set, fail a component if the
attempt to read its label fails.  OKed by oster@.

Revision 1.70.10.2 / (download) - annotate - [select for diffs], Thu Dec 10 22:59:16 2009 UTC (14 years, 2 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1
Changes since 1.70.10.1: +8 -11 lines
Diff to previous 1.70.10.1 (colored) to branchpoint 1.70 (colored)

Pull up following revision(s) (requested by tron in ticket #1187):
	sbin/raidctl/raidctl.8: revisions 1.57-1.59 via patch
	sbin/raidctl/raidctl.c: revision 1.42 via patch
	sys/dev/raidframe/files.raidframe: revision 1.8 via patch
	sys/dev/raidframe/rf_copyback.c: revision 1.42 via patch
	sys/dev/raidframe/rf_disks.c: revision 1.72 via patch
	sys/dev/raidframe/rf_driver.c: revision 1.122 via patch
	sys/dev/raidframe/rf_engine.c: revision 1.40 via patch
	sys/dev/raidframe/rf_kintf.h: revision 1.21 via patch
	sys/dev/raidframe/rf_netbsdkintf.c: revision 1.269 via patch
	sys/dev/raidframe/rf_paritymap.c: revisions 1.1-1.3 via patch
	sys/dev/raidframe/rf_paritymap.h: revision 1.1 via patch
	sys/dev/raidframe/rf_parityscan.c: revision 1.33 via patch
	sys/dev/raidframe/rf_parityscan.h: revision 1.8 via patch
	sys/dev/raidframe/rf_raid.h: revision 1.38 via patch
	sys/dev/raidframe/rf_reconstruct.c: revision 1.108 via patch
	sys/dev/raidframe/rf_states.c: revision 1.44 via patch
	sys/dev/raidframe/raidframeio.h: revision 1.6 via patch
	sys/dev/raidframe/raidframevar.h: revision 1.13 via patch
Pull up the RAIDframe parity map Summer Of Code project.
Drastically reduces the amount of time spent rewriting parity after an
unclean shutdown by keeping better track of which regions might have had
outstanding writes.  Enabled by default; can be disabled on a per-set
basis, or tuned, with the new raidctl(8) commands.

Revision 1.72 / (download) - annotate - [select for diffs], Tue Nov 17 18:54:26 2009 UTC (14 years, 3 months ago) by jld
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.71: +8 -11 lines
Diff to previous 1.71 (colored)

Finally commit the RAIDframe parity map Summer Of Code project.

Drastically reduces the amount of time spent rewriting parity after an
unclean shutdown by keeping better track of which regions might have had
outstanding writes.  Enabled by default; can be disabled on a per-set
basis, or tuned, with the new raidctl(8) commands.

Discussed on tech-kern@ to a general air of approval; exhortations to
commit from mrg@, christos@, and others.

Thanks to Google for their sponsorship, oster@ for mentoring the
project, assorted developers for trying very hard to break it, and
probably more I'm forgetting.

Revision 1.70.14.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:16 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.70: +19 -18 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.69.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:16 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.69.10.1: +19 -18 lines
Diff to previous 1.69.10.1 (colored) to branchpoint 1.69 (colored)

sync with head.

Revision 1.70.8.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:27 2009 UTC (14 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.70: +19 -18 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

Sync with HEAD.

Revision 1.70.10.1 / (download) - annotate - [select for diffs], Sat Apr 4 17:15:14 2009 UTC (14 years, 10 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.70: +19 -18 lines
Diff to previous 1.70 (colored)

Pull up following revision(s) (requested by sborrill in ticket #652):
	sys/dev/raidframe/rf_disks.c: revision 1.71
	sys/dev/raidframe/rf_netbsdkintf.c: revision 1.260
Switch various printfs from %ld and %d to PRIu64, etc. to be more consistent
about types (for instance uint32_t was being printed with %d).

Revision 1.71 / (download) - annotate - [select for diffs], Fri Apr 3 16:23:41 2009 UTC (14 years, 10 months ago) by sborrill
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.70: +19 -18 lines
Diff to previous 1.70 (colored)

Switch various printfs from %ld and %d to PRIu64, etc. to be more consistent
about types (for instance uint32_t was being printed with %d).

Revision 1.69.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:48 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.69: +2 -9 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Sync with HEAD.

Revision 1.69.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:40 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.69: +2 -9 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

sync with head.

Revision 1.69.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:01 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.69: +2 -9 lines
Diff to previous 1.69 (colored)

sync with head.

Revision 1.70 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:56 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, jym-xensuspend
Changes since 1.69: +2 -9 lines
Diff to previous 1.69 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.67.6.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:52 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.67.6.1: +5 -8 lines
Diff to previous 1.67.6.1 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

sync with HEAD

Revision 1.67.12.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:20 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.67.12.1: +5 -8 lines
Diff to previous 1.67.12.1 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

Sync with HEAD.

Revision 1.58.2.5 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:34 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.58.2.4: +5 -8 lines
Diff to previous 1.58.2.4 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

sync with head.

Revision 1.69 / (download) - annotate - [select for diffs], Sat Jan 26 20:44:47 2008 UTC (16 years, 1 month ago) by oster
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.68: +5 -8 lines
Diff to previous 1.68 (colored)

In a land before time, when kernel processes roamed the system, we
needed to keep track of the kernel process that opened a device in
order to close it with the right credentials.  Flash forward to today
where curlwp is now quite sufficient.

Revision 1.67.6.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:54:24 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.67: +4 -4 lines
Diff to previous 1.67 (colored)

sync with HEAD

Revision 1.67.12.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:53 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.67: +4 -4 lines
Diff to previous 1.67 (colored)

Sync with HEAD.

Revision 1.58.2.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:31:04 2007 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.58.2.3: +4 -4 lines
Diff to previous 1.58.2.3 (colored) to branchpoint 1.58 (colored)

sync with head

Revision 1.67.4.1 / (download) - annotate - [select for diffs], Tue Nov 27 19:37:25 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.67: +4 -4 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.68 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:37 2007 UTC (16 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Changes since 1.67: +4 -4 lines
Diff to previous 1.67 (colored)

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

Revision 1.58.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:38:17 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.58.2.2: +5 -5 lines
Diff to previous 1.58.2.2 (colored) to branchpoint 1.58 (colored)

sync with head.

Revision 1.64.12.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:04:42 2007 UTC (16 years, 5 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.64.8.3 / (download) - annotate - [select for diffs], Mon Aug 20 18:37:37 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.64.8.2: +3 -3 lines
Diff to previous 1.64.8.2 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored)

Sync with HEAD.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:40 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

Sync with HEAD.

Revision 1.67.14.2 / (download) - annotate - [select for diffs], Wed Jul 18 19:04:59 2007 UTC (16 years, 7 months ago) by ad
Branch: matt-mips64
Changes since 1.67.14.1: +1113 -0 lines
Diff to previous 1.67.14.1 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

Fix fallout from recent kthread changes.

Revision 1.67.14.1, Wed Jul 18 19:04:58 2007 UTC (16 years, 7 months ago) by ad
Branch: matt-mips64
Changes since 1.67: +0 -1113 lines
FILE REMOVED

file rf_disks.c was added on branch matt-mips64 on 2007-07-18 19:04:59 +0000

Revision 1.67 / (download) - annotate - [select for diffs], Wed Jul 18 19:04:58 2007 UTC (16 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, matt-mips64-base, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

Fix fallout from recent kthread changes.

Revision 1.64.8.2 / (download) - annotate - [select for diffs], Sun Jul 15 13:21:41 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.64.8.1: +3 -3 lines
Diff to previous 1.64.8.1 (colored) to branchpoint 1.64 (colored)

Sync with head.

Revision 1.64.10.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:08:09 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.64: +4 -4 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Sync with head.

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Sun Jul 1 17:09:25 2007 UTC (16 years, 8 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Pull up following revision(s) (requested by cube in ticket #748):
	sys/dev/dksubr.c: revision 1.29
	sys/dev/ccd.c: revision 1.120
	sys/dev/raidframe/rf_disks.c: revision 1.66
	sys/dev/raidframe/rf_reconstruct.c: revision 1.96
	sys/dev/cgd.c: revision 1.45
	sys/dev/dkvar.h: revision 1.11
	sys/dev/raidframe/rf_copyback.c: revision 1.38
Change dk_lookup() to accept an additional argument of the type enum uio_seg
that tells whether the given path is in user space or kernel space, so it
can tell NDINIT().
While the raidframe calls were ok, both ccd(4) and cgd(4) were passing
pointers to user space data, which leads to strange error on i386, as
reported by Jukka Salmi on current-users.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Jun 26 15:22:24 2007 UTC (16 years, 8 months ago) by cube
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

Change dk_lookup() to accept an additional argument of the type enum uio_seg
that tells whether the given path is in user space or kernel space, so it
can tell NDINIT().

While the raidframe calls were ok, both ccd(4) and cgd(4) were passing
pointers to user space data, which leads to strange error on i386, as
reported by Jukka Salmi on current-users.

The issue has been there since last august, I'm actually a bit surprised
that no one in the meantime has used ccd(4) or cgd(4) on an arch where it
would have simply faulted.

Revision 1.64.4.1 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:45 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

sync with head.

Revision 1.64.8.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:29 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

Sync with head.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Mar 13 16:31:24 2007 UTC (16 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

Fix typo in print statement; from khorben

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:49:30 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.58.2.1: +8 -18 lines
Diff to previous 1.58.2.1 (colored) to branchpoint 1.58 (colored)

sync with head.

Revision 1.62.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:11 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.62.4.1: +7 -7 lines
Diff to previous 1.62.4.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

sync with head.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:46 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.62: +4 -3 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Sync with head.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:23 2006 UTC (17 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, wrstuden-fixsa, vmlocking, netbsd-4, mjf-ufs-trans
Changes since 1.63: +7 -7 lines
Diff to previous 1.63 (colored)

__unused removal on arguments; approved by core.

Revision 1.62.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:43 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.62: +7 -6 lines
Diff to previous 1.62 (colored)

sync with head

Revision 1.63 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:50 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.62: +7 -6 lines
Diff to previous 1.62 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.59.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:54:05 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.59: +7 -17 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

sync with head

Revision 1.59.8.3 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:48 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.59.8.2: +5 -14 lines
Diff to previous 1.59.8.2 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

sync with head.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Aug 27 05:07:12 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.61: +5 -14 lines
Diff to previous 1.61 (colored)

- use dk_lookup instead of our home-spun version.
- allow raid to be configured in a wedge
- allow wedges to be configured in a raid
- add autoconfiguration of wedges in a raid

Revision 1.59.8.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:08 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.59.8.1: +4 -6 lines
Diff to previous 1.59.8.1 (colored) to branchpoint 1.59 (colored)

sync with head

Revision 1.61 / (download) - annotate - [select for diffs], Fri Jul 21 16:48:52 2006 UTC (17 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.60: +4 -6 lines
Diff to previous 1.60 (colored)

- Use the LWP cached credentials where sane.
- Minor cosmetic changes.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:06:28 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.58: +9 -7 lines
Diff to previous 1.58 (colored)

sync with head.

Revision 1.59.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:37:32 2006 UTC (17 years, 9 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.59: +5 -4 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with head.

Revision 1.59.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:29 2006 UTC (17 years, 9 months ago) by tron
Branch: peter-altq
Changes since 1.59: +5 -4 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.59.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:14 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.59: +5 -4 lines
Diff to previous 1.59 (colored)

sync with head.

Revision 1.60 / (download) - annotate - [select for diffs], Sun May 14 21:45:00 2006 UTC (17 years, 9 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi
Changes since 1.59: +5 -4 lines
Diff to previous 1.59 (colored)

integrate kauth.

Revision 1.59.10.2 / (download) - annotate - [select for diffs], Sat May 6 23:31:28 2006 UTC (17 years, 9 months ago) by christos
Branch: elad-kernelauth
Changes since 1.59.10.1: +3 -2 lines
Diff to previous 1.59.10.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.59.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:44:49 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.59: +4 -4 lines
Diff to previous 1.59 (colored)

Adapt to kernel authorization KPI.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Dec 11 12:23:37 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.58: +8 -7 lines
Diff to previous 1.58 (colored)

merge ktrace-lwp.

Revision 1.44.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:07:40 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.44.2.7: +4 -4 lines
Diff to previous 1.44.2.7 (colored) next main 1.45 (colored)

Sync with HEAD. Here we go again...

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Fri Jun 17 13:36:04 2005 UTC (18 years, 8 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.57: +4 -4 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Pull up revision 1.58 (requested by oster in ticket #472):
- avoid variable shadowing
- add a lot of const
- remove parameters from function declarations

Revision 1.58 / (download) - annotate - [select for diffs], Sun May 29 22:03:09 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.57: +4 -4 lines
Diff to previous 1.57 (colored)

- avoid variable shadowing
- add a lot of const
- remove parameters from functin declarations

Revision 1.56.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:15 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.56: +99 -99 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

sync with -current

Revision 1.56.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:41 2005 UTC (18 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.56: +99 -99 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.44.2.7 / (download) - annotate - [select for diffs], Fri Mar 4 16:50:06 2005 UTC (18 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.44.2.6: +99 -99 lines
Diff to previous 1.44.2.6 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.57 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:44 2005 UTC (19 years ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, kent-audio2-base
Branch point for: netbsd-3
Changes since 1.56: +99 -99 lines
Diff to previous 1.56 (colored)

nuke trailing whitespace

Revision 1.44.2.6 / (download) - annotate - [select for diffs], Tue Oct 19 15:57:27 2004 UTC (19 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.44.2.5: +10 -5 lines
Diff to previous 1.44.2.5 (colored)

Sync with HEAD

Revision 1.56 / (download) - annotate - [select for diffs], Sun Oct 10 11:15:22 2004 UTC (19 years, 4 months ago) by tron
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.55: +10 -6 lines
Diff to previous 1.55 (colored)

Make this actually compile.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Oct 10 01:17:40 2004 UTC (19 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.54: +6 -5 lines
Diff to previous 1.54 (colored)

when truncating a spare disk, also log what its original size was.

Revision 1.44.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:32:52 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.44.2.4: +8 -7 lines
Diff to previous 1.44.2.4 (colored)

Fix the sync with head I botched.

Revision 1.44.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:50:54 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.44.2.3: +7 -8 lines
Diff to previous 1.44.2.3 (colored)

Sync with HEAD.

Revision 1.44.2.3 / (download) - annotate - [select for diffs], Fri Sep 3 12:45:38 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.44.2.2: +5 -2 lines
Diff to previous 1.44.2.2 (colored)

Sync with HEAD

Revision 1.38.10.2 / (download) - annotate - [select for diffs], Tue Aug 31 01:20:57 2004 UTC (19 years, 6 months ago) by jmc
Branch: netbsd-1-6
Changes since 1.38.10.1: +5 -2 lines
Diff to previous 1.38.10.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Pullup rev 1.54 (requested by oster in ticket #1740)

rf_CheckLabels() needs to die, but for now, we patch it by setting
fatal_error when too_fatal is set, and by setting fatal_error in a
couple other critical cases.

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Mon Aug 30 08:42:48 2004 UTC (19 years, 6 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.51.2.1: +3 -0 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Pull up revision 1.54 (requested by oster in ticket #797):
rf_CheckLabels() needs to die, but for now, we patch it by setting
fatal_error when too_fatal is set, and by setting fatal_error in a
couple other critical cases.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Aug 26 17:09:18 2004 UTC (19 years, 6 months ago) by oster
Branch: MAIN
Changes since 1.53: +5 -2 lines
Diff to previous 1.53 (colored)

rf_CheckLabels() needs to die, but for now, we patch it by setting
fatal_error when too_fatal is set, and by setting fatal_error in a
couple other critical cases.

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:50:43 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.44.2.1: +304 -374 lines
Diff to previous 1.44.2.1 (colored)

Sync with HEAD

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Sun May 23 10:59:49 2004 UTC (19 years, 9 months ago) by tron
Branch: netbsd-2-0
Changes since 1.51: +9 -2 lines
Diff to previous 1.51 (colored)

Pull up revision 1.53 (requested by oster in ticket #377):
Add support for the word "absent" in the "disks" section of
RAID config files.  Used as a placeholder for a component that
will eventually be added into the set.

Revision 1.53 / (download) - annotate - [select for diffs], Sat May 22 20:56:52 2004 UTC (19 years, 9 months ago) by oster
Branch: MAIN
Changes since 1.52: +9 -2 lines
Diff to previous 1.52 (colored)

Add support for the word "absent" in the "disks" section of
RAID config files.  Used as a placeholder for a component that
will eventually be added into the set.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Apr 22 00:17:12 2004 UTC (19 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.51: +7 -6 lines
Diff to previous 1.51 (colored)

sprintf -> snprintf

Revision 1.51 / (download) - annotate - [select for diffs], Sun Mar 21 06:32:03 2004 UTC (19 years, 11 months ago) by oster
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.50: +5 -3 lines
Diff to previous 1.50 (colored)

Fix a nastly little bug that I've been chasing over the past 12 hours.
If raidPtr->numFailures isn't initialized properly, then all sorts of
whacky things can happen, including incorrect DAGs being generated.
(Triggering this problem is a little esoteric, which is why this bug has
been in hiding for so long -- I only saw it after rebooting with a
degraded RAID 5 set that was autoconfigured, rebuilding the failed
componennt, and then failing the component while IO was happening to
the RAID set.)

Revision 1.50 / (download) - annotate - [select for diffs], Sat Mar 13 03:32:08 2004 UTC (19 years, 11 months ago) by oster
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

raidPtr->num_spare is *NOT* sufficient here.  We must allocate
at least an additional RF_MAXSPARE spare units, just in case.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Dec 30 21:59:03 2003 UTC (20 years, 2 months ago) by oster
Branch: MAIN
Changes since 1.48: +21 -51 lines
Diff to previous 1.48 (colored)

Some days you wonder if some of the function declaration consistency
was just an accident in the first place.  Cleanup function decls and
a few comments.  [ok.. so I wasn't going to fix this many.. but once
you're on a roll....]

Revision 1.48 / (download) - annotate - [select for diffs], Tue Dec 30 17:46:59 2003 UTC (20 years, 2 months ago) by oster
Branch: MAIN
Changes since 1.47: +3 -4 lines
Diff to previous 1.47 (colored)

Fix slight bogon from row removal.  'r' would have been 0 here, not 1,
which means r*raidPtr->numCol would have always been 0, not raidPtr->numCol.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Dec 29 03:33:48 2003 UTC (20 years, 2 months ago) by oster
Branch: MAIN
Changes since 1.46: +6 -5 lines
Diff to previous 1.46 (colored)

- first kick at a major reworking of RAIDframe's memory allocation code:
  - all freelists converted to pools
  - initialization of structure members in certain cases where
	code was relying on specific allocation and usage properties
	to keep structures in a "known state" (that doesn't work with
	pools!).
  - make most pool_get() be "PR_WAITOK" until they can be analyzed
	further, and/or have proper error handling added.
  - all RF_Mallocs zero the space returned, so there is no difference
	between RF_Calloc and RF_Malloc.  In fact, all the RF_Calloc()'s
	do is tend to do is get things horribly confused.
	Make RF_Malloc() the "general memory allocator", with
	RF_MallocAndAdd() the "general memory allocator with
	allocation list".
  - some of these RF_Malloc's et al. are destined to disappear.
  - remove rf_rdp_freelist entirely (it's not used anywhere!)
  - remove: #include "rf_freelist.h"
  - to the files that were relying on the above, add: #include "rf_general.h"
  - add: #include "rf_debugMem.h" to rf_shutdown.h to make it happy
	about the loss of: #include "rf_freelist.h".

This shrinks an i386 GENERIC kernel by approx 5K.  RAIDframe now
weighs in at about 162K on i386.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Dec 29 02:38:17 2003 UTC (20 years, 2 months ago) by oster
Branch: MAIN
Changes since 1.45: +277 -327 lines
Diff to previous 1.45 (colored)

[Having received a definite lack of strenuous objection, a small amount
of strenuous agreement, and some general agreement, this commit is
going ahead because it's now starting to block some other changes I
wish to make.]

Remove most of the support for the concept of "rows" from RAIDframe.
While the "row" interface has been exported to the world, RAIDframe
internals have really only supported a single row, even though they
have feigned support of multiple rows.

Nothing changes in configuration land -- config files still need to
specify a single row, etc.  All auto-config structures remain fully
forward/backwards compatible.

The only visible difference to the average user should be a
reduction in the size of a GENERIC kernel (i386) by 4.5K.  For those
of us trolling through RAIDframe kernel code, a lot of the driver
configuration code has become a LOT easier to read.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Oct 21 00:22:04 2003 UTC (20 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Correct NULL abuse.

Revision 1.38.10.1 / (download) - annotate - [select for diffs], Mon Oct 20 05:25:38 2003 UTC (20 years, 4 months ago) by cyber
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002
Changes since 1.38: +5 -2 lines
Diff to previous 1.38 (colored)

Pull up revision 1.42 (requested by oster in ticket #1531):
Remember to close the component if we decide it's not suitable for use
as a hot spare.  Closes PR#20989 by David Brownlee.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:14 2003 UTC (20 years, 8 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.44: +8 -7 lines
Diff to previous 1.44 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Jun 29 22:30:32 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.43: +5 -6 lines
Diff to previous 1.43 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:42 2003 UTC (20 years, 8 months ago) by darrenr
Branch: MAIN
Changes since 1.42: +8 -7 lines
Diff to previous 1.42 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.42 / (download) - annotate - [select for diffs], Sun Apr 13 22:07:11 2003 UTC (20 years, 10 months ago) by oster
Branch: MAIN
Changes since 1.41: +5 -2 lines
Diff to previous 1.41 (colored)

Remember to close the component if we decide it's not suitable for use
as a hot spare.  Closes PR#20989 by David Brownlee.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Mar 21 23:11:22 2003 UTC (20 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Use 'void *' instead of 'caddr_t' in prototypes of VOP_IOCTL, VOP_FCNTL
and VOP_ADVLOCK, delete casts from callers (and some to copyin/out).

Revision 1.34.2.5 / (download) - annotate - [select for diffs], Mon Nov 11 22:11:55 2002 UTC (21 years, 3 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.34.2.4: +13 -2 lines
Diff to previous 1.34.2.4 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Catch up to -current

Revision 1.40 / (download) - annotate - [select for diffs], Tue Oct 22 03:15:28 2002 UTC (21 years, 4 months ago) by oster
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.39: +15 -4 lines
Diff to previous 1.39 (colored)

Better protect hot-spare adding, and make it LOCKDEBUG friendly.

Revision 1.34.2.4 / (download) - annotate - [select for diffs], Fri Oct 18 02:43:47 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.34.2.3: +2 -7 lines
Diff to previous 1.34.2.3 (colored) to branchpoint 1.34 (colored)

Catch up to -current.

Revision 1.34.4.2 / (download) - annotate - [select for diffs], Thu Oct 10 18:41:49 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.34.4.1: +2 -7 lines
Diff to previous 1.34.4.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.39 / (download) - annotate - [select for diffs], Mon Sep 23 02:51:43 2002 UTC (21 years, 5 months ago) by oster
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.38: +2 -7 lines
Diff to previous 1.38 (colored)

Neither force nor retcode are used.  *poof*  Thanks to Simon B.

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:57:44 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.34: +6 -8 lines
Diff to previous 1.34 (colored)

Sync kqueue branch with -current.

Revision 1.34.2.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:31:34 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.34.2.2: +2 -3 lines
Diff to previous 1.34.2.2 (colored) to branchpoint 1.34 (colored)

Catch up to -current.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Nov 15 09:48:13 2001 UTC (22 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6
Changes since 1.37: +2 -3 lines
Diff to previous 1.37 (colored)

don't need <sys/types.h> when including <sys/param.h>

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:48 2001 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.34.2.1: +4 -1 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored)

Catch up to -current.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Nov 13 07:11:13 2001 UTC (22 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.36: +4 -1 lines
Diff to previous 1.36 (colored)

add RCSIDs

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Mon Oct 22 20:41:35 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.34: +3 -7 lines
Diff to previous 1.34 (colored)

Catch up to -current.

Revision 1.34.6.2 / (download) - annotate - [select for diffs], Thu Oct 11 00:02:18 2001 UTC (22 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.34.6.1: +3 -7 lines
Diff to previous 1.34.6.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Oct 5 15:41:23 2001 UTC (22 years, 4 months ago) by oster
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Changes since 1.35: +1 -5 lines
Diff to previous 1.35 (colored)

More #if 0's bite the dust.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Oct 4 15:58:53 2001 UTC (22 years, 4 months ago) by oster
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Step 2 of the disentanglement.  We now look to <dev/raidframe/*> for
the stuff that used to live in rf_types.h, rf_raidframe.h, rf_layout.h,
rf_netbsd.h, rf_raid.h, rf_decluster,h, and a few other places.
Believe it or not, when this is all done, things will be cleaner.

No functional changes to RAIDframe.

Revision 1.34.6.1 / (download) - annotate - [select for diffs], Fri Sep 7 04:45:28 2001 UTC (22 years, 5 months ago) by thorpej
Branch: thorpej-devvp
Changes since 1.34: +3 -11 lines
Diff to previous 1.34 (colored)

Commit my "devvp" changes to the thorpej-devvp branch.  This
replaces the use of dev_t in most places with a struct vnode *.

This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:12:38 2000 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.13.2.1: +3 -1 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Dec 5 01:35:56 2000 UTC (23 years, 2 months ago) by oster
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored)

Fix a couple of warnings about uninitialized variables.  Thanks go to
Frank van der Linden for pointing these out.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:53 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.13: +336 -62 lines
Diff to previous 1.13 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Tue Oct 17 20:11:33 2000 UTC (23 years, 4 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.31.2.1: +2 -2 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Pullup 1.33 [oster]:
Correct a few calls to VOP_CLOSE().

Revision 1.33 / (download) - annotate - [select for diffs], Thu Sep 21 01:37:36 2000 UTC (23 years, 5 months ago) by oster
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Correct a few calls to VOP_CLOSE().

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Fri Sep 8 13:42:50 2000 UTC (23 years, 5 months ago) by oster
Branch: netbsd-1-5
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)

Pullup 1.31->1.32 of rf_disks.c
Pullup 1.95->1.96 of rf_netbsdkintf.c
Approved by: thorpej

Make sure we are passing a locked vp to VOP_CLOSE.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Sep 8 01:36:35 2000 UTC (23 years, 5 months ago) by oster
Branch: MAIN
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)

Make sure we are passing a locked vp to VOP_CLOSE.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:07:53 2000 UTC (23 years, 8 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.27: +65 -15 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jun 2 01:17:14 2000 UTC (23 years, 9 months ago) by oster
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored)

Use 'componentN' rather than leaving blanks for non-existant disks
in the 'raidctl -s' output.

Revision 1.30 / (download) - annotate - [select for diffs], Mon May 29 02:57:34 2000 UTC (23 years, 9 months ago) by oster
Branch: MAIN
Changes since 1.29: +8 -16 lines
Diff to previous 1.29 (colored)

Don't let the autodetection code get tripped up by negative mod-counters.

Revision 1.29 / (download) - annotate - [select for diffs], Sun May 28 22:53:49 2000 UTC (23 years, 9 months ago) by oster
Branch: MAIN
Changes since 1.28: +56 -16 lines
Diff to previous 1.28 (colored)

In the event that an up-to-date component cannot be located for a specific
position, see if there is a failed component still hanging around that
we can use instead (but still mark it as failed).  This leads to more
reasonable behaviour (and fewer surprises!) when autoconfiguring and
failed (or previously failed) components are still on the system.

Revision 1.28 / (download) - annotate - [select for diffs], Sun May 28 05:23:42 2000 UTC (23 years, 9 months ago) by oster
Branch: MAIN
Changes since 1.27: +18 -2 lines
Diff to previous 1.27 (colored)

We need to be slightly more clever during auto-configuration, to make
sure that we a) don't ignore components with correct mod-counters, and
b) do ignore components with bogus mod-counters.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Mar 31 02:05:24 2000 UTC (23 years, 11 months ago) by oster
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.26: +3 -1 lines
Diff to previous 1.26 (colored)

Minor cleanup of unneeded verbosity.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Mar 27 03:25:17 2000 UTC (23 years, 11 months ago) by oster
Branch: MAIN
Changes since 1.25: +5 -8 lines
Diff to previous 1.25 (colored)

cleanup function prototypes.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Mar 26 22:38:29 2000 UTC (23 years, 11 months ago) by oster
Branch: MAIN
Changes since 1.24: +33 -1 lines
Diff to previous 1.24 (colored)

Add bits for eventual support of deleteing components and moving
hot-spares into the main set.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Mar 25 16:24:57 2000 UTC (23 years, 11 months ago) by oster
Branch: MAIN
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored)

Nuke a function prototype that shouldn't be here.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Mar 7 02:28:05 2000 UTC (23 years, 11 months ago) by oster
Branch: MAIN
Changes since 1.22: +1 -2 lines
Diff to previous 1.22 (colored)

Move rf_UnconfigureVnodes to rf_netbsdkintf.c where it will be more at home.
Add prototype to rf_kintf.h, and nuke old prototypes from rf_disks.c and
rf_driver.c .

Revision 1.22 / (download) - annotate - [select for diffs], Fri Mar 3 03:47:17 2000 UTC (24 years ago) by oster
Branch: MAIN
Changes since 1.21: +5 -34 lines
Diff to previous 1.21 (colored)

Use the common disk allocation code, rather doing things the old way.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Mar 3 03:10:03 2000 UTC (24 years ago) by oster
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

Minor formatting cleanup.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 25 19:56:32 2000 UTC (24 years ago) by oster
Branch: MAIN
Changes since 1.19: +47 -6 lines
Diff to previous 1.19 (colored)

- ignore components whose mod_counter values are too low.
- noting the mod_counter for autoconfigured sets would be a win too.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Feb 24 03:48:41 2000 UTC (24 years ago) by oster
Branch: MAIN
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)

- record the pointer to the DiskQueueSW so we can use that when
we hot-add a spare.
- use the above info when adding a spare.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Feb 24 02:55:05 2000 UTC (24 years ago) by oster
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Now that we have the information available, use the general maxOutstanding
value for the RAID set, rather than looking at Queue[0][0] (which may not
exist).

Revision 1.17 / (download) - annotate - [select for diffs], Thu Feb 24 01:22:32 2000 UTC (24 years ago) by oster
Branch: MAIN
Changes since 1.16: +18 -1 lines
Diff to previous 1.16 (colored)

- make sure we note the parity status in the autoconfig case.
- also, make sure we grab the serial number from the component labels
when we autoconfig.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 23 02:01:55 2000 UTC (24 years ago) by oster
Branch: MAIN
Changes since 1.15: +8 -1 lines
Diff to previous 1.15 (colored)

Make a note of autoconfigured components.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Feb 13 04:53:57 2000 UTC (24 years ago) by oster
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.14: +176 -17 lines
Diff to previous 1.14 (colored)

Get recent changes into the tree:
- make component_label variables more consistent (==> clabel)
- re-work incorrect component configuration code
- re-work disk configuration code
- cleanup initial configuration of raidPtr info
- add auto-detection of components and RAID sets (Disabled, for now)
- allow / on RAID sets (Disabled, for now)
- rename "config_disk_queue" to "rf_ConfigureDiskQueue" and properly prototype
in rf_diskqueue.h
- protect some headers with #if _KERNEL  (XXX this needs to be fixed properly)
  and cleanup header formatting.
- expand the component labels (yes, they should be backward/forward compatible)
- other bits and pieces (some function names are still bogus, and will get
changed soon)

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 9 01:29:28 2000 UTC (24 years, 1 month ago) by oster
Branch: MAIN
Changes since 1.13: +2 -4 lines
Diff to previous 1.13 (colored)

- move a bunch of function prototypes to rf_kintf.h
- general cleanup of a number of prototypes that were scattered around.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Tue Nov 30 13:34:26 1999 UTC (24 years, 3 months ago) by itojun
Branch: kame
CVS Tags: kame_141_19991130
Changes since 1.8: +25 -8 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

The branch does not compile at all (due to the lack of ALTQ and some other
source code).  Please do not try to modify the branch, this is just for
referenre purposes.

synchronization to latest KAME will take place on HEAD branch soon.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Aug 14 03:10:03 1999 UTC (24 years, 6 months ago) by oster
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Remove a 'struct proc *'-passing abomination that's been bugging me
for quite some time.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Aug 13 03:41:56 1999 UTC (24 years, 6 months ago) by oster
Branch: MAIN
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

rf_sys.h does not need to be #included in any of these files, and, actually,
is no longer needed at all.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Aug 10 22:56:20 1999 UTC (24 years, 6 months ago) by oster
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

When reporting the status of a component during configuration,
provide more intuitive information about whether a component is clean
or not.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Wed Jun 23 14:36:57 1999 UTC (24 years, 8 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Changes since 1.8: +25 -8 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

pullup 1.8->1.9 (oster)

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:18:57 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.8: +29 -8 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync w/ -current.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jun 4 02:02:39 1999 UTC (24 years, 9 months ago) by oster
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored)

When adding a hot spare, remember to lock down the main raidPtr
structure before mucking with its contents.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jun 4 01:50:01 1999 UTC (24 years, 9 months ago) by oster
Branch: MAIN
Changes since 1.8: +25 -8 lines
Diff to previous 1.8 (colored)

Don't count two problems with a single component as two
component failures!  Also: remember to configure the disk queues for
the spares -- failure to do that is Bad(tm).
Huge Thanks to Martin Laubach for helping track this down.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 18 03:02:38 1999 UTC (24 years, 11 months ago) by oster
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, kame_14_19990705, kame_14_19990628
Branch point for: netbsd-1-4, kame, chs-ubc2
Changes since 1.7: +15 -2 lines
Diff to previous 1.7 (colored)

Correct a component label problem where a RAID 1 set with a
failed component would not configure properly in certain situations.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 2 03:18:49 1999 UTC (25 years ago) by oster
Branch: MAIN
Changes since 1.6: +315 -63 lines
Diff to previous 1.6 (colored)

Update for recent changes including component label support, clean
bits, rebuilding components in-place, adding hot spares, shutdownhooks, etc.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Feb 24 00:00:03 1999 UTC (25 years ago) by oster
Branch: MAIN
Changes since 1.5: +322 -189 lines
Diff to previous 1.5 (colored)

Minor cleanups and code rearranging.  Now knows a little about component
labels and how to deal with hot-adding spare components.  Still work in
progress -- component labels and hot-adding are not enabled (yet).

Revision 1.5 / (download) - annotate - [select for diffs], Fri Feb 5 00:06:09 1999 UTC (25 years ago) by oster
Branch: MAIN
Changes since 1.4: +342 -337 lines
Diff to previous 1.4 (colored)

Phase 2 of the RAIDframe cleanup.  The source is now closer to KNF
and is much easier to read.  No functionality changes.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jan 26 03:49:49 1999 UTC (25 years, 1 month ago) by oster
Branch: MAIN
Changes since 1.3: +1 -3 lines
Diff to previous 1.3 (colored)

rf_ccmn.h no longer needed.  Nuke it's inclusion from rf_disks.c.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jan 26 02:33:56 1999 UTC (25 years, 1 month ago) by oster
Branch: MAIN
Changes since 1.2: +1 -170 lines
Diff to previous 1.2 (colored)

RAIDframe cleanup, phase 1.  Nuke simulator support, user-land driver,
out-dated comments, and other unneeded stuff.  This helps prepare
for cleaning up the rest of the code, and adding new functionality.

No functional changes to the kernel code in this commit.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 3 15:06:25 1998 UTC (25 years, 3 months ago) by oster
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.1: +18 -2 lines
Diff to previous 1.1 (colored)

If a configuration fails due to a non-existant spare, remember to release
any previously allocated components before bailing.  Credit to Manuel Bouyer
for noticing this.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Nov 13 04:20:29 1998 UTC (25 years, 3 months ago) by oster
Branch: MAIN

RAIDframe, version 1.1, from the Parallel Data Laboratory at
Carnegie Mellon University.  Full RAID implementation, including
levels 0, 1, 4, 5, 6, parity logging, and a few other goodies.
Ported to NetBSD by Greg Oster.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>