The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:22:32 2026 UTC (11 days, 8 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +20 -6 lines
Sync with HEAD

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Oct 24 00:20:24 2026 UTC (3 weeks, 2 days ago) by tls
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, HEAD
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +20 -6 lines
Be more conservative with pool and freelist sizes and address potential deadlocks discovered while working on PR kern/60396.

Note that with this change we track the total amount of memory allocated to
both reserved buffers and pools on a per-array basis, and constrain
"openings" to keep it under control on small-memory machines.

1) Per suggestion from oster@, rename the "emergency" freelists that are now
   used before dynamic allocation to "reserved" freelists.

2) Eliminate static pool sizes and compute dynamically instead.  For now,
   most are larger to avoid potential deadlocks discussed below.  With
   some restructuring of the I/O dispatch model they can probably get smaller.

3) Address an M_WAITOK allocation with PSS_MUTEX held in "forced"
   reconstruction.  It appears this could deadlock rf_RaidIOThread
   and the recon thread.  Added another small set of emergency
   buffers to cover this case.

4) Reorganize rf_Configure to initialize pools _after_ disk,
   queue, and openings are determined, so each array's pools can
   be sized according to the actual array geometry.  Made all
   sizes dynamic; but see below as to the actual constraint on
   minimum pool sizes.

5) Address a potential deadlock between dispatch
   and completion for the I/O and Engine threads per array if any
   pool has less than "openings" minimum elements.  This is because
   am outbound dispatch can block in pool_get(..., PR_WAITOK) while
   completed I/Os accumulate in raidPtr->iodone or term_nq.

   The options are to either restructure these as two threads per
   (dispatch, completion) or to grit our teeth and accept that we
   must have "openings" minimum elements in each pool and on small
   memory machines "openings" will thus be constrained.  Elsewise,
   some pools would need as little as a single page of memory.

   Went for the "grit our teeth" option; a shame, but tearing the
   threads apart feels like too much for now.

6) Compute bytes per opening (which can be quite large due to
   emergency buffers, remembering array geometries are possible
   where a stripe is much smaller than MAXPHYS) and use that to
   constrain "openings" so no array allocates more than 1% of
   physical memory.  Comments in the reorganized rf_Configure
   explain how it's done and there are some verbose and debug
   printfs to let the user know what happened.  With a wide array
   on a low-memory machine, the bottom line is that you may be
   all the way back down to openings = 6; but on big machines with
   narrow arrays we can do much better.

7) Each time we configure an array, grow the global
   rf_alloclist_pool to ensure it has enough space according
   to array geometry and openings, so we do not block on this
   pool either.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Feb 10 09:21:53 2024 UTC (2 years, 9 months ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11
Branch point for: perseant-exfatfs
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
fix various typos in comments and log messages.

Revision 1.37.12.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:31 2021 UTC (5 years, 3 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +14 -10 lines
Sync with HEAD.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jul 23 00:54:45 2021 UTC (5 years, 3 months ago) by oster
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, 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
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +14 -10 lines

Extensive mechanical changes to the pools used in RAIDframe.

Alloclist remains not per-RAID, so initialize that pool
separately/differently than the rest.

The remainder of pools in RF_Pools_s are now per-RAID pools.  Mostly
mechanical changes to functions to allocate/destroy per-RAID pools.
Needed to make raidPtr available in certain cases to be able to find
the per-RAID pools.

Extend rf_pool_init() to now populate a per-RAID wchan value that is
unique to each pool for a given RAID device.

TODO: Complete the analysis of the minimum number of items that are
required for each pool to allow IO to progress (i.e. so that a request
for pool resources can always be satisfied), and dynamically scale
minimum pool sizes based on RAID configuration.

Revision 1.34.56.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:47 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.34.56.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.56.1: +9 -8 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Oct 10 03:43:59 2019 UTC (7 years, 1 month ago) by christos
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, 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
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +9 -8 lines
fix the function pointer and callback mess:
- callback functions return 0 and their result is not checked; make them void.
- there are two types of callbacks and they used to overload their parameters
  and the callback structure; separate them into "function" and "value"
  callbacks.
- make the wait function signature consistent.

Revision 1.34.56.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:31 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -10 lines
Sync with HEAD

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Feb 10 17:13:33 2019 UTC (7 years, 9 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -7 lines
Introduce PR_ZERO to avoid open-coding memset()s everywhere. OK riastradh@.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Feb 9 03:34:00 2019 UTC (7 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -6 lines
- 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.33.82.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:08:33 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +14 -9 lines
Sync with HEAD.

Revision 1.33.76.1: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:54 2011 UTC (15 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +14 -9 lines
sync with head

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue May 3 08:18:43 2011 UTC (15 years, 6 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, 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, nick-nhusb, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, 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, 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-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, khorben-n900, 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, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, cherry-xenmp-base, cherry-xenmp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: phil-wifi
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +14 -9 lines
convert the pssTable mutex into a kmutex/cv.

Revision 1.31.16.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:11 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.31.16.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.16.1: +6 -6 lines
sync with head.

Revision 1.31.14.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:46 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +2 -2 lines
Sync with head.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:23 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, netbsd-5-base, 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, 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, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-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, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base, ad-audiomp
Branch point for: rmind-uvmplock, jruoho-x86intr
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -6 lines
__unused removal on arguments; approved by core.

Revision 1.31.16.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:43 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -6 lines
sync with head

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:52 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -6 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.30.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:54:06 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +12 -6 lines
sync with head

Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:06:28 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +12 -6 lines
sync with head.

Revision 1.30.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:28 2006 UTC (20 years, 6 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +12 -6 lines
Sync with head.

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:39:11 2006 UTC (20 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +12 -6 lines
sync with head.

Revision 1.29.12.1: download - view: text, markup, annotated - select for diffs
Wed Feb 15 19:38:58 2006 UTC (20 years, 9 months ago) by riz
Branches: netbsd-3-0
CVS tags: netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +12 -6 lines
Pull up following revision(s) (requested by oster in ticket #1170):
	sys/dev/raidframe/rf_driver.c: revision 1.110
	sys/dev/raidframe/rf_psstatus.c: revision 1.31
	sys/dev/raidframe/rf_psstatus.h: revision 1.13
RAIDframe was erroneously re-initializing the Parity Stripe Status
pool each time a new array was configured.  This causes grief
with things like 'vmstat -m' by causing it to loop.  Make RAIDframe
only initialize PSS bits once.
Pointed out by simonb@.  Fix tested by simonb@. Thanks!

Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 15 19:38:53 2006 UTC (20 years, 9 months ago) by riz
Branches: 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
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +12 -6 lines
Pull up following revision(s) (requested by oster in ticket #1170):
	sys/dev/raidframe/rf_driver.c: revision 1.110
	sys/dev/raidframe/rf_psstatus.c: revision 1.31
	sys/dev/raidframe/rf_psstatus.h: revision 1.13
RAIDframe was erroneously re-initializing the Parity Stripe Status
pool each time a new array was configured.  This causes grief
with things like 'vmstat -m' by causing it to loop.  Make RAIDframe
only initialize PSS bits once.
Pointed out by simonb@.  Fix tested by simonb@. Thanks!

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Feb 14 01:13:33 2006 UTC (20 years, 9 months ago) by oster
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +12 -6 lines
RAIDframe was erroneously re-initializing the Parity Stripe Status
pool each time a new array was configured.  This causes grief
with things like 'vmstat -m' by causing it to loop.  Make RAIDframe
only initialize PSS bits once.

Pointed out by simonb@.  Fix tested by simonb@. Thanks!

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:23:37 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
merge ktrace-lwp.

Revision 1.28.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:15 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +19 -19 lines
sync with -current

Revision 1.28.10.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:41 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +19 -19 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.12.6.4: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:50:07 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12.6.3: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.6.3: +19 -19 lines
Sync with HEAD.

Hi Perry!

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:45 2005 UTC (21 years, 8 months ago) by perry
Branches: 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, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, 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, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf, netbsd-3-0, netbsd-3
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +19 -19 lines
nuke trailing whitespace

Revision 1.12.6.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:32:54 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12.6.2: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.6.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.12.6.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:50:54 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12.6.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.6.1: +0 -0 lines
Sync with HEAD.

Revision 1.12.6.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:50:48 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +53 -98 lines
Sync with HEAD

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Mar 18 16:54:54 2004 UTC (22 years, 8 months ago) by oster
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, 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-base, 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-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -3 lines
Re-work the locking mechanisms for reconstruct and PSS structures
such that we don't actually hold a simplelock while we are doing
a pool_get(), but that we still effectively protecting critical code.

This should fix all of the outstanding LOCKDEBUG warnings related to
rebuilding RAID sets.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Mar 8 02:25:27 2004 UTC (22 years, 8 months ago) by oster
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +6 -13 lines
Move pss_pool to rf_pools.  Will save a bit of extra memory at
run-time, and we can only do one reconstruction at a time anyway.
Nuke pss_issued_pool - move it to an internal structure in pss.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Mar 7 22:15:19 2004 UTC (22 years, 8 months ago) by oster
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -15 lines
- Introduce rf_pools which contains all of the various global pools used
by RAIDframe.  Convert all other RAIDframe global pools to use pools
defined within this new structure.
- Introduce rf_pool_init(), used for initializing a single pool in
RAIDframe.  Teach each of the configuration routines to use
rf_pool_init().
- Cleanup a few pool-related comments.
- Cleanup revent initialization and #defines.
- Add a missing pool_destroy() for the reconbuffer pool.

(Saves another 1K off of an i386 GENERIC kernel, and makes
stuff a lot more readable)

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Mar 5 02:53:58 2004 UTC (22 years, 8 months ago) by oster
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +11 -8 lines
- remove the RF_*_INC's, as necessary.  They are not needed any more.
- introduce RF_MIN_*'s, as necessary.  These will indicate the
low-water mark for pools as well as the pool_prime() value.
- add pool_setlowat() for the critical pools.
- pool_prime() and pool_setlowat() the raidframe_cbufpool.
- re-order some pool_prime()'s and pool_sethiwat()'s for clarity.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Mar 4 03:27:30 2004 UTC (22 years, 8 months ago) by oster
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -6 lines
Remove a comment that is no longer relevant.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Mar 3 01:02:44 2004 UTC (22 years, 8 months ago) by oster
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +6 -5 lines
Improve comments on rf_LookupRUStatus().  No functional changes.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Mar 3 00:45:20 2004 UTC (22 years, 8 months ago) by oster
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -10 lines
- cleanup memory allocation in rf_AllocPSStatus()
- change function signature of rf_LookupRUStatus().  The last argument
is now a pointer to a new PSS, in case one is needed.  Rather than
having rf_LookupRUStatus() allocate a new PSS, we pre-allocate one
beforehand, where necessary, just in case.
- change callers of rf_lookupRUStatus() to deal with the new way of
calling rf_lookupRUStatus().

[no improvement or worsening of parity rebuild/initialization performance.]

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Feb 29 04:03:50 2004 UTC (22 years, 8 months ago) by oster
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -9 lines
Adjust _rf_ShutdownCreate() so that it is willing to wait for more
memory.  Since we only now ever "return(0)", just return (void)
instead.

Cleanup all uses of rf_ShutdownCreate() to not worry about
it ever failing.  Shaves another 600 bytes off of an i386 GENERIC kernel.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Dec 31 00:42:46 2003 UTC (22 years, 10 months ago) by oster
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -4 lines
Increase the scope of RF_DEBUG_PSS to cover a bit more stuff.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Dec 30 21:59:03 2003 UTC (22 years, 10 months ago) by oster
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +22 -39 lines
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.18: download - view: text, markup, annotated - select for diffs
Mon Dec 29 05:01:14 2003 UTC (22 years, 10 months ago) by oster
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -3 lines
Since rf_mutex_destroy() is effectively a NOP now, nuke it.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Dec 29 04:56:26 2003 UTC (22 years, 10 months ago) by oster
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +7 -16 lines
Simplify defn's of rf_mutex_init() and rf_mutex_destroy().  Since
neither of these ever fail, no need to have a return value.  That
makes all the "error detection" on these functions completely
unneeded.  But since we're here, if we don't have a return value, then
why not make these macros?  My.. look how things keep shrinking, with
no loss in functionality!

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Dec 29 03:33:48 2003 UTC (22 years, 10 months ago) by oster
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -6 lines
- 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.15: download - view: text, markup, annotated - select for diffs
Mon Dec 29 02:38:18 2003 UTC (22 years, 10 months ago) by oster
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -9 lines
[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.14: download - view: text, markup, annotated - select for diffs
Sun Dec 21 15:56:20 2003 UTC (22 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -3 lines
Since the 5th arg of pool_init() wasn't actually the number
of items with which to prime the pool, we now prime each
pool using pool_prime().

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Dec 21 07:53:59 2003 UTC (22 years, 11 months ago) by simonb
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4 lines
Fix usage of fifth argument to pool_init().

Revision 1.5.6.6: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:38:36 2002 UTC (23 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.5.6.5: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.6.5: +1 -0 lines
Sync with HEAD.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Nov 12 00:01:32 2002 UTC (24 years ago) by oster
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Branch point for: ktrace-lwp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -2 lines
xorBufCount needs to be initialized too!

Revision 1.5.6.5: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:43:52 2002 UTC (24 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.6.4: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.4: +23 -33 lines
Catch up to -current.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Oct 11 02:10:09 2002 UTC (24 years, 1 month ago) by oster
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-aftermerge
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +17 -35 lines
poolify the allocation of Parity Stripe Status structures.

XXX: Current code may have problems if kernel memory is completely depleted.
This is, unfortunately, not the only chunk of RAIDframe code to have
this problem, and will have to be dealt with. :(

Revision 1.5.8.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:41:55 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.5.8.2: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.8.2: +12 -6 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Sep 19 22:52:52 2002 UTC (24 years, 2 months ago) by oster
Branches: MAIN
CVS tags: kqueue-base
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +10 -2 lines
Introduce and use RF_DEBUG_PSS, and save a few more bytes.

Revision 1.5.6.4: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:20:56 2002 UTC (24 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.6.3: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.3: +2 -4 lines
Catch up to -current.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Sep 14 17:53:58 2002 UTC (24 years, 2 months ago) by oster
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -6 lines
Everyone and their dog was using RF_ERRORMSG3 to print out the same
sort of error message, over and over again, in different files.
Rather than having the same text repeated in multiple .o files,
create a couple of little functions to do the printing, and save a
bundle of space.  Also improves readability of code.

Revision 1.5.8.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:57:55 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.5.8.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.8.1: +6 -2 lines
Sync kqueue branch with -current.

Revision 1.5.6.3: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:15:52 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.6.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.2: +4 -1 lines
Catch up to -current.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Nov 13 07:11:16 2001 UTC (25 years ago) by lukem
Branches: 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-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, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -1 lines
add RCSIDs

Revision 1.5.6.2: download - view: text, markup, annotated - select for diffs
Mon Oct 22 20:41:39 2001 UTC (25 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5.6.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.1: +3 -2 lines
Catch up to -current.

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 11 00:02:23 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +3 -2 lines
Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Oct 4 15:58:55 2001 UTC (25 years, 1 month ago) by oster
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -2 lines
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.5.6.1: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:10:38 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Catch up with -current.

Revision 1.5.8.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:13:28 2001 UTC (25 years, 3 months ago) by lukem
Branches: kqueue
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
update to -current

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jul 18 06:45:34 2001 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
bzero -> memset

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:42:57 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -5 lines
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.5: download - view: text, markup, annotated - select for diffs
Sat Jan 8 22:57:31 2000 UTC (26 years, 10 months ago) by oster
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: nathanw_sa, kqueue
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -5 lines
- nuke calls to rf_get_threadid() and associated #include
- change a bunch of debugging printfs from
  "[%d] ...", tid   (where tid is the "thread id")
to
  "raid%d: ...", raidPtr->raidid
- other minor rototillage

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Aug 13 03:41:57 1999 UTC (27 years, 3 months ago) by oster
Branches: 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
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -2 lines
rf_sys.h does not need to be #included in any of these files, and, actually,
is no longer needed at all.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Feb 5 00:06:15 1999 UTC (27 years, 9 months ago) by oster
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +294 -259 lines
Phase 2 of the RAIDframe cleanup.  The source is now closer to KNF
and is much easier to read.  No functionality changes.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jan 26 02:34:00 1999 UTC (27 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -74 lines
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.1: download - view: text, markup, annotated - select for diffs
Fri Nov 13 04:20:32 1998 UTC (28 years ago) by oster
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>