CVS log for src/sys/dev/raidframe/rf_diskqueue.c
Up to [cvs.NetBSD.org] / src / sys / dev / raidframe
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.63.4.1: download - view: text, markup, annotated - select for diffs
Sun Apr 28 12:09:08 2024 UTC (7 months, 2 weeks ago) by martin
Branches: netbsd-10
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +10 -3
lines
Pull up following revision(s) (requested by oster in ticket #674):
sys/dev/raidframe/rf_raid.h: revision 1.52
sbin/raidctl/raidctl.8: revision 1.80
sys/dev/raidframe/rf_driver.c: revision 1.141
sys/dev/raidframe/rf_disks.c: revision 1.94
sys/dev/raidframe/rf_diskqueue.c: revision 1.64
sys/dev/raidframe/rf_diskqueue.h: revision 1.30
sys/dev/raidframe/rf_disks.h: revision 1.15
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.414
sys/dev/raidframe/rf_reconstruct.c: revision 1.129
sys/dev/raidframe/raidframeio.h: revision 1.12
sbin/raidctl/raidctl.c: revision 1.79
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.64: download - view: text, markup, annotated - select for diffs
Sun Sep 17 20:07:39 2023 UTC (14 months, 3 weeks ago) by oster
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +10 -3
lines
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.55.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 19 16:29:43 2021 UTC (2 years, 11 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE
Diff to: previous 1.55.4.1: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.4.1: +5 -2
lines
Pull up following revision(s) (requested by mrg in ticket #1394):
sys/dev/raidframe/rf_diskqueue.c: revision 1.63 (patch)
call buf_destroy() after buf_init(). hopefully fixes the lockdebug
problem shown here:
http://mail-index.netbsd.org/tech-kern/2021/12/10/msg027851.html
but seems unlikely to fix the original problem.
tested on i386/anita. ok oster@
XXX: pullup-9 (netbsd-8 uses old APIs.)
Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Dec 14 00:46:43 2021 UTC (2 years, 11 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-10-base,
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,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +5 -2
lines
call buf_destroy() after buf_init(). hopefully fixes the lockdebug
problem shown here:
http://mail-index.netbsd.org/tech-kern/2021/12/10/msg027851.html
but seems unlikely to fix the original problem.
tested on i386/anita. ok oster@
XXX: pullup-9 (netbsd-8 uses old APIs.)
Revision 1.55.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 19 10:55:15 2021 UTC (3 years, 1 month ago) by martin
Branches: netbsd-9
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +27 -19
lines
Pull up following revision(s) (requested by oster in ticket #1361):
sys/dev/raidframe/rf_netbsd.h: revision 1.36 (via patch)
sys/dev/raidframe/rf_diskqueue.c: revision 1.58
sys/dev/raidframe/rf_diskqueue.c: revision 1.59
remove unnnecessary splbio() in rf_FreeDiskQueueData()
getiobuf() can return NULL if there are no IO buffers available.
RAIDframe can't deal with that, so create a dedicated pool of buffers
to use for IO. PR_WAITOK is fine here, as we pre-allocate more than
we need to guarantee IO can make progress. Tuning of pool still to
come.
Revision 1.58.6.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:31 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +46 -35
lines
Sync with HEAD.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Jul 27 03:01:48 2021 UTC (3 years, 4 months ago) by oster
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -4
lines
rf_CreateDiskQueueData() no longer uses waitflag, and will always succeed.
Cleanup the error path for the (no longer needed) PR_NOWAIT cases.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Jul 23 20:18:24 2021 UTC (3 years, 4 months ago) by oster
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +7 -12
lines
Various disk queue "peek" routines were only ever used in the simulator
version of RAIDFrame. Remove them from here.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Jul 23 00:54:45 2021 UTC (3 years, 4 months ago) by oster
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +21 -15
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.59: download - view: text, markup, annotated - select for diffs
Fri Jul 23 00:26:19 2021 UTC (3 years, 4 months ago) by oster
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +27 -16
lines
getiobuf() can return NULL if there are no IO buffers available.
RAIDframe can't deal with that, so create a dedicated pool of buffers
to use for IO. PR_WAITOK is fine here, as we pre-allocate more than
we need to guarantee IO can make progress. Tuning of pool still to
come.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Jun 19 19:32:03 2020 UTC (4 years, 5 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -5
lines
remove unnnecessary splbio() in rf_FreeDiskQueueData()
Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Jun 19 19:29:39 2020 UTC (4 years, 5 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +7 -4
lines
pass down b_flags B_PHYS|B_RAW|B_MEDIA_FLAGS from bio subsystem
to component I/O
fixes the xbd(4) KASSERT() triggered by raidframe, noted in PR kern/55397
by Frank Kardel
Revision 1.53.56.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:47 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.53.56.1: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.56.1: +3 -3
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Oct 10 03:43:59 2019 UTC (5 years, 2 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
is-mlppp-base,
is-mlppp,
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
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3
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.53.56.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:31 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +6 -8
lines
Sync with HEAD
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Feb 10 17:13:33 2019 UTC (5 years, 10 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
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
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -4
lines
Introduce PR_ZERO to avoid open-coding memset()s everywhere. OK riastradh@.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Feb 9 03:34:00 2019 UTC (5 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +6 -7
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.52.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:08:32 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +12 -4
lines
Sync with HEAD.
Revision 1.52.4.1: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:53 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +12 -4
lines
sync with head
Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu May 5 06:04:09 2011 UTC (13 years, 7 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.52: preferred, colored
Changes since revision 1.52: +12 -4
lines
convert the diskqueue mutex into a kmutex
Revision 1.51.14.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:27:50 2010 UTC (14 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +29 -119
lines
sync to netbsd-5
Revision 1.51.10.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:21:16 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +29 -119
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.50.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:16 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +30 -119
lines
sync with head.
Revision 1.51.6.1: download - view: text, markup, annotated - select for diffs
Fri May 1 02:18:29 2009 UTC (15 years, 7 months ago) by snj
Branches: 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,
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,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +29 -119
lines
Pull up following revision(s) (requested by oster in ticket #607):
sys/dev/raidframe/rf_dagfuncs.c: revision 1.30
sys/dev/raidframe/rf_diskqueue.c: revision 1.52
sys/dev/raidframe/rf_diskqueue.h: revision 1.23
Rework/simplify the disk queuing code. A bunch of this was still
holdovers from the simulator and would never be seen/used in-kernel.
Revision 1.51.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:36:27 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +29 -119
lines
Sync with HEAD.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Mar 23 18:38:54 2009 UTC (15 years, 8 months ago) by oster
Branches: MAIN
CVS tags: 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-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: rmind-uvmplock,
jruoho-x86intr
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +29 -119
lines
Rework/simplify the disk queuing code. A bunch of this was still
holdovers from the simulator and would never be seen/used in-kernel.
Revision 1.50.6.1: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:10 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +3 -2
lines
Sync with HEAD.
Revision 1.50.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:26 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +3 -2
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.50.14.1: download - view: text, markup, annotated - select for diffs
Wed Jun 18 16:33:25 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +3 -2
lines
Sync with head.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Jun 17 14:53:11 2008 UTC (16 years, 5 months ago) by reinoud
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
nick-hppapmap-base2,
netbsd-5-base,
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,
mjf-devfs2-base,
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,
matt-mips64-base2,
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,
matt-nb5-mips64,
jym-xensuspend
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -2
lines
Mark a buffer `busy` in getnewbuf() when it came from the pool_cache since
its not on a free list.
Also change buf_init() to not automatically mark buffers `busy' since this
only makes sense for bufcache buffers.
Mark all buf_init'd buffers 'busy' on the places where they ought to be
flagged as such to not confuse the buffer cache.
Fixes PR 38923.
Revision 1.49.22.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:20 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +4 -10
lines
Sync with HEAD.
Revision 1.41.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:44:31 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.2.3: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.3: +4 -10
lines
sync with head
Revision 1.49.16.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:54:23 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +4 -10
lines
sync with HEAD
Revision 1.49.28.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:55:10 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +4 -10
lines
Sync with HEAD
Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Jan 2 11:48:38 2008 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
wrstuden-revivesa,
simonb-wapbl,
mjf-devfs2
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -10
lines
Merge vmlocking2 to head.
Revision 1.49.24.1: download - view: text, markup, annotated - select for diffs
Tue Dec 4 13:02:58 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +4 -10
lines
Pull the vmlocking changes into a new branch.
Revision 1.41.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:38:17 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.2.2: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.2: +3 -3
lines
sync with head.
Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 24 23:28:36 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +4 -4
lines
Sync with buffer cache locking changes. See buf.h/vfs_bio.c for details.
Some minor portions are incomplete and needs to be verified as a whole.
Revision 1.48.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:56:52 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +3 -3
lines
Sync with HEAD.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:37 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
yamt-idlelwp-base8,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
reinoud-bufcleanup,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: vmlocking2,
vmlocking,
mjf-devfs,
matt-armv6,
bouyer-xeni386
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:49:30 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.2.1: +10 -3
lines
sync with head.
Revision 1.45.20.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:11 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.45.20.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.20.1: +3 -3
lines
sync with head.
Revision 1.45.18.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:46 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +10 -3
lines
Sync with head.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:23 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
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,
matt-nb4-arm-base,
matt-nb4-arm,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3
lines
__unused removal on arguments; approved by core.
Revision 1.45.20.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:43 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +11 -4
lines
sync with head
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:50 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Oct 5 17:35:19 2006 UTC (18 years, 2 months ago) by tls
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +10 -3
lines
Protect calls to pool_put/pool_get that may occur in interrupt context
with spl used to protect other allocations and frees, or datastructure
element insertion and removal, in adjacent code.
It is almost unquestionably the case that some of the spl()/splx() calls
added here are superfluous, but it really seems wrong to see:
s=splfoo();
/* frob data structure */
splx(s);
pool_put(x);
and if we think we need to protect the first operation, then it is hard
to see why we should not think we need to protect the next. "Better
safe than sorry".
It is also almost unquestionably the case that I missed some pool
gets/puts from interrupt context with my strategy for finding these
calls; use of PR_NOWAIT is a strong hint that a pool may be used from
interrupt context but many callers in the kernel pass a "can wait/can't
wait" flag down such that my searches might not have found them. One
notable area that needs to be looked at is pf.
See also:
http://mail-index.netbsd.org/tech-kern/2006/07/19/0003.html
http://mail-index.netbsd.org/tech-kern/2006/07/19/0009.html
Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:06:28 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +8 -12
lines
sync with head.
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 15 10:02:56 2006 UTC (18 years, 11 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +8 -12
lines
sync with head.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Jan 8 21:53:26 2006 UTC (18 years, 11 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,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
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.44: preferred, colored
Changes since revision 1.44: +2 -4
lines
Cleanup the initialization of buffers a bit, and remove some old code
that works around a bug that no longer exists. From yamt. Thanks!
(a bit more cleanup to follow)
Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Jan 6 09:21:44 2006 UTC (18 years, 11 months ago) by yamt
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -0
lines
initialize necessary members of struct buf. PR/32462 from Reinoud Zandijk.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Jan 4 10:13:05 2006 UTC (18 years, 11 months ago) by yamt
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +8 -12
lines
- add simple functions to allocate/free a buffer for i/o.
- make bufpool static.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:23:37 2005 UTC (19 years ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2
lines
merge ktrace-lwp.
Revision 1.22.2.8: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:07:40 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.7: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.7: +4 -4
lines
Sync with HEAD. Here we go again...
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 17 13:36:39 2005 UTC (19 years, 6 months ago) by tron
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,
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
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +4 -4
lines
Pull up revision 1.41 (requested by oster in ticket #472):
- avoid variable shadowing
- add a lot of const
- remove parameters from function declarations
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun May 29 22:03:09 2005 UTC (19 years, 6 months ago) by christos
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,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -4
lines
- avoid variable shadowing
- add a lot of const
- remove parameters from functin declarations
Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:15 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +24 -22
lines
sync with -current
Revision 1.35.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 6 12:19:30 2005 UTC (19 years, 8 months ago) by tron
Branches: netbsd-2
CVS tags: 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
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +6 -2
lines
Pull up revision 1.36 (requested by oster in ticket #1041):
Only touch bufpool whilst in splbio(). (That should be the case
already, but this makes it explicit and safer in the case where
that changes for some reason.)
Revision 1.36.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:41 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.36.6.1: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.6.1: +15 -15
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.22.2.7: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:50:06 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.6: preferred, colored
Changes since revision 1.22.2.6: +15 -15
lines
Sync with HEAD.
Hi Perry!
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:44 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
kent-audio2-base
Branch point for: netbsd-3
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +15 -15
lines
nuke trailing whitespace
Revision 1.22.2.6: download - view: text, markup, annotated - select for diffs
Tue Feb 15 21:33:29 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.5: preferred, colored
Changes since revision 1.22.2.5: +11 -9
lines
Sync with HEAD.
Revision 1.36.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:50 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +12 -10
lines
sync with head.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Feb 12 03:44:41 2005 UTC (19 years, 10 months ago) by oster
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -4
lines
The 'next' argument to rf_CreateDiskQueueData is always NULL. Since
there is no particular reason to pass an extra NULL argument, turf it,
and initialize p->next to NULL within the function.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Feb 12 03:27:33 2005 UTC (19 years, 10 months ago) by oster
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +10 -7
lines
Add a 'waitflag' argument to rf_CreateDiskQueueData() and use it to
determine if we are willing to wait for memory to come from the
diskqueuedata (dqd) and bufpool pools. Cleanup the mess related to
code calling rf_CreateDiskQueueData() with different expectations
(and/or blatent disregard) of what might happen if there were
insufficient pool resources.
Revision 1.22.2.5: download - view: text, markup, annotated - select for diffs
Sun Feb 6 08:59:23 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.4: preferred, colored
Changes since revision 1.22.2.4: +3 -3
lines
Sync with HEAD.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Feb 5 23:53:44 2005 UTC (19 years, 10 months ago) by oster
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
CreateDiskQueueData() doesn't need to use void * for raidPtr.
RF_Raid_t is well known in RF, and there's no reason not to use it here.
Revision 1.22.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 29 07:24:32 2004 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.3: preferred, colored
Changes since revision 1.22.2.3: +6 -2
lines
Sync with HEAD.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Nov 24 13:42:36 2004 UTC (20 years ago) by oster
Branches: MAIN
CVS tags: yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +6 -2
lines
Only touch bufpool whilst in splbio(). (That should be the case
already, but this makes it explicit and safer in the case where
that changes for some reason.)
Revision 1.22.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:32:52 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.2: preferred, colored
Changes since revision 1.22.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:50:54 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22.2.1: preferred, colored
Changes since revision 1.22.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:50:43 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +87 -151
lines
Sync with HEAD
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Mar 23 02:34:10 2004 UTC (20 years, 8 months ago) by oster
Branches: MAIN
CVS tags: netbsd-2-base,
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
Branch point for: netbsd-2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -3
lines
bufpool must be accessed at splbio().
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Mar 21 06:16:49 2004 UTC (20 years, 8 months ago) by oster
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -2
lines
Doesn't hurt much to zero this before we start mucking with it.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Mar 7 22:15:19 2004 UTC (20 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +0 -0
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.32: download - view: text, markup, annotated - select for diffs
Sun Mar 7 21:57:44 2004 UTC (20 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +8 -13
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.31: download - view: text, markup, annotated - select for diffs
Fri Mar 5 02:53:55 2004 UTC (20 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -5
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.30: download - view: text, markup, annotated - select for diffs
Sun Feb 29 04:03:50 2004 UTC (20 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -10
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.29: download - view: text, markup, annotated - select for diffs
Thu Jan 1 19:27:35 2004 UTC (20 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -3
lines
Nuke a bunch of unused variables:
- node_queue_cond
- quiescent_cond
- eq_cond
- desc->cond
- desc->head
- diskqueue->numWaiting
Nuke rf_print_unable_to_init_cond().
Nuke rf_TerminateDiskQueues prototype from rf_diskqueue.h.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Dec 31 02:47:58 2003 UTC (20 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +8 -25
lines
init_dqd and clean_dqd don't do enough to be their own functions,
and just serve to cause confusion. Back-merge their contents to their
(only) calling spots and nuke them.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Dec 30 21:59:03 2003 UTC (20 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +26 -52
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.26: download - view: text, markup, annotated - select for diffs
Mon Dec 29 05:48:13 2003 UTC (20 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -9
lines
_rf_create_managed_cond() is now left doing nothing. Convert callers.
Mash DO_RAID_COND in rf_driver.c out of existance.
- Nuke (already #if 0'ed) _rf_create_managed_lkmgr_mutex() while we're
busy here.
simplify DO_INIT in rf_engine.c
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Dec 29 05:22:16 2003 UTC (20 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -7
lines
_rf_create_managed_mutex() is doing just a simple:
rf_mutex_init(m)
now. The rest of the fluff is no longer needed.
It also cannot fail, so error checking on rf_create_managed_mutex()
is just wasting space.
Nuke the #define's associated with rf_create_managed_mutex().
Convert rf_create_managed_mutex(listp,m) to just rf_mutex_init(m).
Remove wasteful "error checking" and simplify all instances where this
is called. (another 0.3K saved in the binary, but the real savings
is in code readability!)
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 29 03:33:47 2003 UTC (20 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +20 -15
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.23: download - view: text, markup, annotated - select for diffs
Mon Dec 29 02:38:17 2003 UTC (20 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +39 -47
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.22: download - view: text, markup, annotated - select for diffs
Sun Feb 9 10:04:33 2003 UTC (21 years, 10 months ago) by jdolecek
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -5
lines
constify some
Revision 1.13.6.5: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:43:47 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.13.6.4: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.6.4: +12 -0
lines
Catch up to -current.
Revision 1.13.8.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:41:48 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.13.8.2: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.8.2: +18 -11
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.13.6.4: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:20:47 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.6.3: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.6.3: +4 -9
lines
Catch up to -current.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Sep 17 02:55:12 2002 UTC (22 years, 3 months ago) by oster
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +14 -2
lines
Use RF_DEBUG_DISKQUEUE to eliminate more debuggin printfs that the
vast majority of the world will never see much less care about.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Sep 15 21:34:03 2002 UTC (22 years, 3 months ago) by oster
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -4
lines
Nuke unlockingOp -- it was only used for the userland version of the
code.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Sep 15 21:19:50 2002 UTC (22 years, 3 months ago) by oster
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -3
lines
'buf2' is unused. Nuke it.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Sep 14 17:53:57 2002 UTC (22 years, 3 months ago) by oster
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -8
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.13.8.2: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:46:01 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.13.8.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.8.1: +2 -45
lines
sync kqueue branch with HEAD
Revision 1.15.8.1: download - view: text, markup, annotated - select for diffs
Thu Aug 29 05:22:49 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +2 -45
lines
catch up with -current.
Revision 1.13.6.3: download - view: text, markup, annotated - select for diffs
Tue Aug 13 02:19:50 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.6.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.6.2: +0 -43
lines
Catch up to -current.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Aug 2 04:01:51 2002 UTC (22 years, 4 months ago) by oster
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -3
lines
- AuxFunc is no longer used.
- cleanup function prototypes in rf_diskqueue.h
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Aug 2 03:55:13 2002 UTC (22 years, 4 months ago) by oster
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -44
lines
It appears that nothing is using rf_CreateDiskQueueDataFull. Make it even
harder to do so by removing it.
Revision 1.13.8.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:57:43 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -3
lines
Sync kqueue branch with -current.
Revision 1.13.6.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:15:48 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.6.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.6.1: +4 -1
lines
Catch up to -current.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Nov 13 07:11:13 2001 UTC (23 years, 1 month 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,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -1
lines
add RCSIDs
Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Mon Oct 22 20:41:35 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
lines
Catch up to -current.
Revision 1.13.10.2: download - view: text, markup, annotated - select for diffs
Thu Oct 11 00:02:18 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.13.10.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.10.1: +3 -3
lines
Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Oct 4 15:58:53 2001 UTC (23 years, 2 months ago) by oster
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
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.13.10.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:28 2001 UTC (23 years, 3 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -5
lines
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.7.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:42:53 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +60 -77
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.13: download - view: text, markup, annotated - select for diffs
Sat Mar 4 04:22:34 2000 UTC (24 years, 9 months ago) by oster
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
thorpej-devvp-base2,
thorpej-devvp-base,
pre-chs-ubcperf,
post-chs-ubcperf,
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
Branch point for: thorpej-devvp,
nathanw_sa,
kqueue
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +37 -34
lines
Reorganize some comments.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Mar 4 03:27:13 2000 UTC (24 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -10
lines
Garbage collect the (already disabled) "random" queue type.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Feb 24 03:52:15 2000 UTC (24 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -10
lines
Garbage collect some unused stuff. Include rf_kintf.h for a
function prototype.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Feb 24 03:48:41 2000 UTC (24 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1
lines
- 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.9: download - view: text, markup, annotated - select for diffs
Sun Feb 13 04:53:57 2000 UTC (24 years, 10 months ago) by oster
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +22 -22
lines
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.8: download - view: text, markup, annotated - select for diffs
Fri Jan 7 03:43:39 2000 UTC (24 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -5
lines
Nuke: #include "rf_threadid.h" and call to rf_get_threadid().
Revision 1.6.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:34:26 1999 UTC (25 years ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +11 -3
lines
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.6.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 23 14:34:27 1999 UTC (25 years, 5 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +11 -3
lines
pullup 1.6->1.7 (oster)
Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:18:57 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +11 -3
lines
Sync w/ -current.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jun 4 01:51:00 1999 UTC (25 years, 6 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,
chs-ubc2-base
Branch point for: thorpej_scsipi
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +11 -3
lines
At config time, initialize a small amount of space for the disk queues
corresponding to the hot spares. We'll need that space when a spare is
actually added. Huge Thanks to Martin Laubach for helping track this down.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Feb 5 00:06:09 1999 UTC (25 years, 10 months ago) by oster
Branches: 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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +425 -397
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.5: download - view: text, markup, annotated - select for diffs
Tue Jan 26 02:33:56 1999 UTC (25 years, 10 months ago) by oster
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -364
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.4: download - view: text, markup, annotated - select for diffs
Thu Jan 14 22:49:05 1999 UTC (25 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
Use M_RAIDFRAME.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Jan 14 20:29:38 1999 UTC (25 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -2
lines
Duh... check that malloc() hasn't returned a NULL *before* we zero the buffer,
not after. Pointed out by Michael Graff.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Dec 3 14:58:24 1998 UTC (26 years ago) by oster
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -2
lines
Fix (potential) referencing of null pointer in (verbose) debugging mode.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Nov 13 04:20:29 1998 UTC (26 years, 1 month ago) by oster
Branches: 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.
CVSweb <webmaster@jp.NetBSD.org>