CVS log for src/sys/dev/raidframe/rf_layout.c
Up to [cvs.NetBSD.org] / src / sys / dev / raidframe
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.18.38.1: download - view: text, markup, annotated - select for diffs
Tue Jun 3 20:47:33 2008 UTC (18 years, 5 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +17 -3
lines
Sync with netbsd-4.
Revision 1.18.70.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:48 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +18 -4
lines
Sync with HEAD.
Revision 1.18.72.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:40 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +18 -4
lines
sync with head.
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:01 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +17 -3
lines
sync with head.
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Sun May 11 07:22:24 2008 UTC (18 years, 6 months ago) by jdc
Branches: netbsd-3
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +17 -3
lines
Pull up revision 1.20 (requested by oster in ticket #1930).
Both StripeUnitsPerParityUnit and StripeUnitsPerReconstructUnit need
to be positive integers.
Revision 1.18.24.1: download - view: text, markup, annotated - select for diffs
Sun May 11 06:22:31 2008 UTC (18 years, 6 months ago) by jdc
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +17 -3
lines
Pull up revision 1.20 (requested by oster in ticket #1140).
Both StripeUnitsPerParityUnit and StripeUnitsPerReconstructUnit need
to be positive integers.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun May 4 20:57:23 2008 UTC (18 years, 6 months ago) by oster
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
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,
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,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
tls-maxphys-base-20171202,
tls-maxphys-base,
tls-maxphys,
tls-earlyentropy-base,
tls-earlyentropy,
thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
thorpej-altq-separation-base,
thorpej-altq-separation,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
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,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
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,
perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
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,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
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,
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,
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-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,
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,
mjf-devfs2-base,
matt-premerge-20091211,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
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-mips64-premerge-20101231,
matt-mips64-base2,
localcount-20160914,
khorben-n900,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
jruoho-x86intr-base,
jruoho-x86intr,
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,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
cherry-xenmp-base,
cherry-xenmp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
agc-symver-base,
agc-symver,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache,
ad-audiomp2-base,
ad-audiomp2,
HEAD
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +17 -3
lines
Both StripeUnitsPerParityUnit and StripeUnitsPerReconstructUnit need
to be positive integers.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Apr 20 20:42:32 2008 UTC (18 years, 7 months ago) by oster
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
Introduce a function to return the default head separation for RAID 1
sets. This helps ensure that the sliding status window (coming soon!)
for reconstructs will always be correct.
Revision 1.18: 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
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pf42-baseX,
yamt-pf42-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,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
yamt-idlelwp-base8,
yamt-idlelwp,
wrstuden-fixsa-base-1,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
reinoud-bufcleanup,
post-newlock2-merge,
peter-altq-base,
peter-altq,
nick-net80211-sync-base,
nick-net80211-sync,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
newlock2-nbase,
newlock2-base,
newlock2,
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,
mjf-ufs-trans-base,
mjf-ufs-trans,
mjf-devfs-base,
mjf-devfs,
matt-nb4-arm-base,
matt-nb4-arm,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup-base,
hpcarm-cleanup,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
cube-autoconf-base,
cube-autoconf,
chap-midi-nbase,
chap-midi-base,
chap-midi,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64,
ad-socklock-base1,
ad-audiomp-base,
ad-audiomp,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-pf42,
wrstuden-fixsa,
netbsd-4,
mjf-devfs2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
merge ktrace-lwp.
Revision 1.16.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.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +12 -12
lines
sync with -current
Revision 1.16.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.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +12 -12
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.14.2.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.14.2.3: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.3: +12 -12
lines
Sync with HEAD.
Hi Perry!
Revision 1.17: 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-lazymbuf,
yamt-km-base4,
yamt-km-base3,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
netbsd-3-base,
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,
ktrace-lwp-base,
kent-audio2-base
Branch point for: netbsd-3
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +12 -12
lines
nuke trailing whitespace
Revision 1.14.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:32:53 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.14.2.2: preferred, colored
Changes since revision 1.14.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.14.2.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.14.2.1: preferred, colored
Changes since revision 1.14.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:50:44 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +8 -11
lines
Sync with HEAD
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Jan 4 06:37:16 2004 UTC (22 years, 10 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.15: preferred, colored
Changes since revision 1.15: +3 -3
lines
As noted by Thierry Deval in a posting to misc/at/openbsd.org,
rf_DecrAccessesCountState wasn't in the correct spot in
RF_AccessState_e. Following up on that has resulted in one other
correction. Changing orderings of these states is tricky, and
shouldn't be attempted without some thorough analysis. For the
changes committed, the following analysis is offerred:
1) RAIDframe uses a little state machine to take care of building,
executing, and processing the DAGs used to direct IO.
2) The rf_DecrAccessesCountState state is handled by the function
rf_State_DecrAccessCount(). The purpose of this state is to
decrement the number of "accesses-in-flight".
3) rf_Cleanup_State is handled by rf_State_Cleanup(). Its job is to
do general cleanup of DAG arrays and any stripe locks.
4) DefaultStates[] in rf_layout.c indicates that the right spot
for rf_DecrAccessesCountState is just before rf_Cleanup_State.
Analysis of code for both states indicates that the order doesn't
matter too much, although rf_State_DecrAccessCount() should probably
take place *after* rf_State_Cleanup() to be more correct.
5) Comments in rf_State_ProcessDAG() indicates that the next state
should be rf_Cleanup_State. However: it attempts to get there by using
desc->state++;
which actually takes it to just rf_DecrAccessesCountState! This turned
out to be OK before, since rf_Cleanup_State would follow right after,
and all would be taken careof (albeit in arguably the "less correct"
order).
6) With the current ordering, if we head directly to rf_Cleanup_State
(as we do, for example, if multiple components fail in a RAID 5 set),
then we'll actually miss going trough rf_DecrAccessesCountState), and
could end up never being able to reach quiescence! Perhaps not too
big of a deal, given that the RAID set is pretty much toast by that
point at which such a drastic state change happens, but might as well
have this correct.
The changes made are:
1) Since having rf_State_DecrAccessCount() come after
rf_State_Cleanup() is just fine, change rf_layout.c to reflect that
rf_DecrAccessesCountState comes after rf_Cleanup_State (i.e. they swap
positions in the state list). This means that going to
rf_Cleanup_State after bailing on a failed DAG access will do all the
right things -- the state will get cleaned up, and then the access
counts will get decremented properly. The comment in
rf_State_ProcessDAG() is now actually correct -- the next state *will*
be rf_Cleanup_State.
2) Move rf_DecrAccessesCountState in RF_AccessState_e to just after
rf_CleanupState. This puts RF_AccessState_e in sync with
DefaultStates[]. Fortunately, these states are rarely referred to by
name, and so this change ends up being mostly cosmetic -- it really
only fixes cleanup behaviour for the recent "Failed to create a DAG"
changes.
Revision 1.15: 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.14: preferred, colored
Changes since revision 1.14: +7 -10
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.14: download - view: text, markup, annotated - select for diffs
Sun Feb 9 10:04:33 2003 UTC (23 years, 9 months ago) by jdolecek
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +8 -7
lines
constify some
Revision 1.9.2.4: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:43:50 2002 UTC (24 years, 1 month ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.9.2.3: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.3: +0 -1
lines
Catch up to -current.
Revision 1.9.4.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:41:51 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.9.4.2: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.4.2: +2 -3
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: download - view: text, markup, annotated - select for diffs
Mon Sep 23 02:35:24 2002 UTC (24 years, 1 month 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.12: preferred, colored
Changes since revision 1.12: +2 -3
lines
dataBytesPerStripe is set, but never used. *poof*
Revision 1.9.4.2: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:46:03 2002 UTC (24 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.9.4.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.4.1: +2 -15
lines
sync kqueue branch with HEAD
Revision 1.11.8.1: download - view: text, markup, annotated - select for diffs
Thu Aug 29 05:22:49 2002 UTC (24 years, 2 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +2 -15
lines
catch up with -current.
Revision 1.9.2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 13 02:19:52 2002 UTC (24 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.2: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.2: +0 -13
lines
Catch up to -current.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Aug 3 00:58:09 2002 UTC (24 years, 3 months ago) by oster
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -15
lines
Cleanup configuration and auto-configuration information printing.
Thanks to mrg for the suggestions.
Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:57:48 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -3
lines
Sync kqueue branch with -current.
Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:15:49 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.1: +4 -1
lines
Catch up to -current.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Nov 13 07:11:14 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,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -1
lines
add RCSIDs
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 22 20:41:36 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
lines
Catch up to -current.
Revision 1.9.6.1: download - view: text, markup, annotated - select for diffs
Thu Oct 11 00:02:20 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -3
lines
Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Oct 4 15:58:54 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.9: preferred, colored
Changes since revision 1.9: +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.4.2.2: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:16:16 2001 UTC (25 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +23 -50
lines
Sync with HEAD.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jan 27 19:34:43 2001 UTC (25 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
Branch point for: thorpej-devvp,
nathanw_sa,
kqueue
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +19 -59
lines
Having moved some of the bits needed by raidctl into rf_configure.c, we
no longer need those bits here. In particular, this file is now only
used in the kernel, and that allows us to clean up a lot of cruft.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Jan 27 02:13:34 2001 UTC (25 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +10 -1
lines
More #if's. This needs some serious rototillage, but a few #if's will
suffice for now.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jan 26 04:40:03 2001 UTC (25 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -1
lines
Give the parity declustering code their own 'RAID arch' types, and
allow us to turn them off if desired.
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:42:54 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1
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.6: download - view: text, markup, annotated - select for diffs
Mon Apr 17 19:35:12 2000 UTC (26 years, 7 months ago) by oster
Branches: MAIN
CVS tags: 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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -12
lines
Revert last change (the last change was not necessarily desirable, and
had some other minor side-affects that were troublesome).
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Apr 16 03:24:26 2000 UTC (26 years, 7 months ago) by oster
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +12 -1
lines
Don't allow configuration where the specified SectPerSU may result in IO larger
than MAXPHYS being sent to underlying devices. Addresses PR#9868.
Will change if/when MAXPHYS goes bye-bye.
Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 27 05:02:51 1999 UTC (27 years, 1 month ago) by cgd
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +8 -1
lines
pull up rev 1.4 from trunk (requested by oster):
Do not continue the configuration process if sectorsPerStripeUnit is
not larger than 0.
Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Mon Aug 2 22:05:31 1999 UTC (27 years, 3 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +8 -1
lines
Update from trunk.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jul 19 01:35:19 1999 UTC (27 years, 4 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-newbase,
chs-ubc2-base
Branch point for: thorpej_scsipi
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +8 -1
lines
sectorsPerStripeUnit should be larger than 0. If it isn't, simply fail.
(Thanks to Thor Lancelot Simon for noting the problem).
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Feb 5 00:06:12 1999 UTC (27 years, 9 months ago) by oster
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: netbsd-1-4,
chs-ubc2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +324 -328
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:33:58 1999 UTC (27 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -210
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:30 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.
CVSweb <webmaster@jp.NetBSD.org>