CVS log for src/sys/dev/raidframe/rf_disks.c
Up to [cvs.NetBSD.org] / src / sys / dev / raidframe
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.93.4.2: download - view: text, markup, annotated - select for diffs
Sat May 4 12:04:56 2024 UTC (10 months, 2 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.93.4.1: preferred, colored; branchpoint 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.4.1: +5 -5
lines
Additionally pull up to fix the llvm build after #674:
sys/dev/raidframe/rf_disks.c 1.95
snprintf() should really include a format.
Revision 1.93.4.1: download - view: text, markup, annotated - select for diffs
Sun Apr 28 12:09:08 2024 UTC (10 months, 3 weeks ago) by martin
Branches: netbsd-10
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +205 -49
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.95: download - view: text, markup, annotated - select for diffs
Mon Sep 25 16:16:50 2023 UTC (17 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.94: preferred, colored
Changes since revision 1.94: +5 -5
lines
snprintf() should really include a format.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Sep 17 20:07:39 2023 UTC (18 months ago) by oster
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +205 -49
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.91.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 12 15:18:13 2022 UTC (2 years, 7 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE
Diff to: previous 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91: +8 -8
lines
Pull up following revision(s) (requested by mrg in ticket #1500):
sys/dev/raidframe/rf_driver.c: revision 1.140 (patch)
sys/dev/raidframe/rf_disks.c: revision 1.93 (patch)
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.408 (patch)
raidframe: reject invalid values for numCol and numSpares
numCol and numSpares are "int" so they can be "-1" internally,
which means negative values need to be rejected, as well as
values higher than RF_MAXCOL/RF_MAXSPARES.
explicitly nul-terminate all strings coming from userland.
some minor CSE that avoids signed arith.
this fixes issues in the RAIDFRAME_ADD_HOT_SPARE,
RAIDFRAME_CONFIGURE, RAIDFRAME_DELETE_COMPONENT,
RAIDFRAME_INCORPORATE_HOT_SPARE, and RAIDFRAME_REBUILD_IN_PLACE
ioctl commands.
ok oster@ riastradh@
Revision 1.93: download - view: text, markup, annotated - select for diffs
Wed Aug 10 01:16:38 2022 UTC (2 years, 7 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.92: preferred, colored
Changes since revision 1.92: +7 -8
lines
raidframe: reject invalid values for numCol and numSpares
numCol and numSpares are "int" so they can be "-1" internally,
which means negative values need to be rejected, as well as
values higher than RF_MAXCOL/RF_MAXSPARES.
explicitly nul-terminate all strings coming from userland.
some minor CSE that avoids signed arith.
this fixes issues in the RAIDFRAME_ADD_HOT_SPARE,
RAIDFRAME_CONFIGURE, RAIDFRAME_DELETE_COMPONENT,
RAIDFRAME_INCORPORATE_HOT_SPARE, and RAIDFRAME_REBUILD_IN_PLACE
ioctl commands.
Reported-by: syzbot+b584943ad1f8ab9d4fe0@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?id=61e07e418261f8eec8a37a9226725fe31820edd0
https://syzkaller.appspot.com/bug?id=ca0c997b40de81c0f0b44790217731f142003149
https://syzkaller.appspot.com/bug?id=6fc452d228453494655a85264591dd9054cc0b08
https://syzkaller.appspot.com/bug?id=873f0271682713a27adc9a49dd7109c70b35fda3
XXX: pullup-8, pullup-9.
ok oster@ riastradh@
Revision 1.89.16.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:11 2020 UTC (4 years, 11 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.89.16.1: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.16.1: +4 -4
lines
Merge changes from current as of 20200406
Revision 1.92: download - view: text, markup, annotated - select for diffs
Sun Dec 8 12:14:40 2019 UTC (5 years, 3 months ago) by mlelstv
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -4
lines
Switch to vn_bdev_open* functions.
Revision 1.89.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:31 2019 UTC (5 years, 9 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +8 -10
lines
Sync with HEAD
Revision 1.91: download - view: text, markup, annotated - select for diffs
Sat Feb 9 03:34:00 2019 UTC (6 years, 1 month ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
isaki-audio2-base,
isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +7 -9
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.89.8.1: download - view: text, markup, annotated - select for diffs
Fri Feb 8 16:03:04 2019 UTC (6 years, 1 month ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89: +3 -3
lines
Pull up following revision(s) (requested by christos in ticket #1183):
sys/dev/raidframe/rf_disks.c: revision 1.90
PR/53956: Havard Eidnes: raidframe fails to create raid set on disks.
The test to check if force was reversed when the code was factored out.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Feb 8 13:37:46 2019 UTC (6 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3
lines
PR/53956: Havard Eidnes: raidframe fails to create raid set on disks.
The test to check if force was reversed when the code was factored out.
Revision 1.83.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:31 2017 UTC (7 years, 3 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.83.2.2: preferred, colored; branchpoint 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.2.2: +26 -27
lines
update from HEAD
Revision 1.87.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:38 2017 UTC (8 years ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +27 -28
lines
Sync with HEAD
Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:46 2017 UTC (8 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +27 -28
lines
Sync with HEAD
Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Jan 13 13:01:13 2017 UTC (8 years, 2 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
netbsd-8-base,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi,
netbsd-8
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +10 -7
lines
more faithful to the original (from coypu)
Revision 1.88: download - view: text, markup, annotated - select for diffs
Fri Jan 13 04:22:16 2017 UTC (8 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +24 -28
lines
Don't consider a disk hosed if we did not find a column for it; dedup code.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Oct 18 08:33:28 2014 UTC (10 years, 5 months ago) by snj
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
localcount-20160914
Branch point for: pgoyette-localcount,
nick-nhusb
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -3
lines
src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
Revision 1.83.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:49 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.83.2.1: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.2.1: +16 -15
lines
Rebase to HEAD as of a few days ago.
Revision 1.85.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:57 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +5 -11
lines
Rebase.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Sat Jun 14 07:39:00 2014 UTC (10 years, 9 months ago) by hannken
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +5 -11
lines
Change dk_lookup() to return an anonymous vnode not associated with
any file system. Change all consumers of dk_lookup() to get the
device from "v_rdev" instead of VOP_GETATTR() as specfs does not
support VOP_GETATTR(). Devices obtained with dk_lookup() will no
longer disappear on forced unmounts.
Fix for PR kern/48849 (root mirror raid fails on shutdown)
Welcome to 6.99.44
Revision 1.82.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:35 2014 UTC (10 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.82.2.1: preferred, colored; branchpoint 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.2.1: +12 -6
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.83.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:46 2014 UTC (10 years, 10 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +12 -6
lines
sync with head
Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue Mar 25 16:19:14 2014 UTC (11 years ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -3
lines
kill sprintf
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Sep 15 12:44:03 2013 UTC (11 years, 6 months ago) by martin
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +10 -5
lines
Avoid unused variable warnings
Revision 1.83.2.1: download - view: text, markup, annotated - select for diffs
Sun Feb 10 16:26:33 2013 UTC (12 years, 1 month ago) by tls
Branches: tls-maxphys
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +13 -2
lines
Add an accessor -- ufs_maxphys() -- to check the maximum transfer size
for a given UFS mountpoint, and move the code from mount that finds
the underlying disk and resets the mountpoint max transfer size into a
utility function, ufs_update_maxphys().
Add a global serial number that counts disk property changes to which
filesystems are meant to accomodate themselves. Make ufs_maxphys()
check it. This is a sort of flag-polling interface that avoids callbacks
into the filesystem code, but will require freezing filesystems and
draining in-flight transactions before a decrease in size that is
mandatory (like attaching a disk with a smaller maximum transfer size
as a spare in a RAIDframe set), rather than "advisory", like finding
out set geometry from a RAID controller long after boot and deciding
a smaller transfer size would be optimal, can be signalled. Still, the
"advisory" case is the common one so this is progress.
Make a bit of an example of RAIDframe by making it bump this new
serial number when disks are added to the subsystem. I will attack
one of the hardware RAID drivers (probably arcmsr) next.
Revision 1.82.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:59 2012 UTC (12 years, 4 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -2
lines
sync with head
Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Jul 19 22:47:52 2012 UTC (12 years, 8 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
rmind-smpnet
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -2
lines
Initialize values to squelch gcc.
from Greg Oster
Revision 1.70.10.5: download - view: text, markup, annotated - select for diffs
Wed Jun 13 14:00:49 2012 UTC (12 years, 9 months ago) by sborrill
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
Diff to: previous 1.70.10.4: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.10.4: +4 -5
lines
Pull up the following revisions(s) (requested by mrg in ticket #1774):
sbin/raidctl/raidctl.c: revision 1.52
sys/dev/raidframe/raidframevar.h: revision 1.15
sys/dev/raidframe/rf_copyback.c: revision 1.45
sys/dev/raidframe/rf_disks.c: revision 1.78
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.282,1.284
sys/dev/raidframe/rf_reconstruct.c: revision 1.111
Fix garbage values in partitionSizeHi with RAID array > 2TB. Stops the check against
rf_component_label_partitionsize() failing and stopping auto-configure.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Oct 14 09:23:30 2011 UTC (13 years, 5 months ago) by hannken
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +6 -3
lines
Change the vnode locking protocol of VOP_GETATTR() to request at least
a shared lock. Make all calls outside of file systems respect it.
The calls from file systems need review.
No objections from tech-kern.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Aug 3 14:44:38 2011 UTC (13 years, 7 months ago) by oster
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3
lines
Remove unused 'struct lwp *' from rf_getdisksize. No functional changes.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Jul 29 19:55:50 2011 UTC (13 years, 7 months ago) by oster
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +24 -2
lines
In rf_disks.c make sure ser_values and ser_count arrays are
initialized before use.
Validate the component label before considering a component for use,
and make sure we only consider components that are optimal.
Fixes PR#44251. All atf RAIDframe tests now pass.
Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:08:32 2011 UTC (13 years, 9 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +15 -17
lines
Sync with HEAD.
Revision 1.73.2.2: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:53 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.73.2.1: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.2.1: +11 -12
lines
sync with head
Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed May 11 18:13:12 2011 UTC (13 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +13 -14
lines
convert the main raidPtr mutex to a kmutex, and add a couple of cv's to
cover the old sleep/wakeup points for adding_hot_spare and waitForReconCond.
convert all remaining simple_lock's to kmutexes (they're not used or compiled
right now... even with all options enabled) and remove the support for them.
this leaves just a pair of tsleep()/wakeup() calls using old scheduling APIs.
Revision 1.73.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:54:03 2011 UTC (14 years ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +27 -7
lines
sync with head
Revision 1.76.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:29 2011 UTC (14 years ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.76.4.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.4.1: +4 -5
lines
Sync with HEAD
Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Feb 19 07:11:09 2011 UTC (14 years, 1 month ago) by enami
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -5
lines
Define accessors for number of blocks and partition size in the
component label and use them where appropriate. Disscussed on tech-kern.
Revision 1.76.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 17 12:00:15 2011 UTC (14 years, 1 month ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -3
lines
Sync with HEAD
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Feb 13 06:17:35 2011 UTC (14 years, 1 month ago) by enami
Branches: MAIN
CVS tags: bouyer-quota2-base
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -3
lines
Remove one of trailing whitespace which adds unnecessary difference
against netbsd-5 branch.
Revision 1.70.10.4: download - view: text, markup, annotated - select for diffs
Fri Jan 7 23:25:59 2011 UTC (14 years, 2 months ago) by riz
Branches: netbsd-5
Diff to: previous 1.70.10.3: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.10.3: +15 -5
lines
Pull up following revision(s) (requested by mrg in ticket #1522):
sys/dev/raidframe/rf_disks.c: revision 1.76
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.276
apply my patch to support non-512K sector disks (at least, upto 16KB
sector disks..) from my tech-kern post:
the following patch let's me access both 512 byte and 4K
sector disks at the same time, as long as they are in
separate raids. the existing rf code assumes/enforces
this part, i just made it support other sets concurrently.
the main change is moving the parity bitmap to the sector
after the component label sector(s), instead of being
immediately after the label, which meant it was on the same
sector as the label for >1024 byte devices.
i'm a little annoyed at having to add a 2nd call to
getdisksize() to enable auto-configure to work, but i
don't see another way that wasn't much uglier.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Dec 4 10:01:16 2010 UTC (14 years, 3 months ago) by mrg
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +15 -5
lines
apply my patch to support non-512K sector disks (at least, upto 16KB
sector disks..) from my tech-kern post:
the following patch let's me access both 512 byte and 4K
sector disks at the same time, as long as they are in
separate raids. the existing rf code assumes/enforces
this part, i just made it support other sets concurrently.
the main change is moving the parity bitmap to the sector
after the component label sector(s), instead of being
immediately after the label, which meant it was on the same
sector as the label for >1024 byte devices.
i'm a little annoyed at having to add a 2nd call to
getdisksize() to enable auto-configure to work, but i
don't see another way that wasn't much uglier.
Revision 1.70.10.3: download - view: text, markup, annotated - select for diffs
Sun Nov 21 22:06:53 2010 UTC (14 years, 4 months ago) by riz
Branches: netbsd-5
CVS tags: matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.70.10.2: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.10.2: +4 -2
lines
Pull up following revision(s) (requested by mrg in ticket #1468):
sys/dev/raidframe/rf_disks.c: revision 1.74
sys/dev/raidframe/raidframevar.h: revision 1.14
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.275
sys/dev/raidframe/rf_copyback.c: revision 1.43
sys/dev/raidframe/rf_reconstruct.c: revision 1.109
add support for >2TB raid devices.
- - add two new members to the component label:
u_int numBlocksHi
u_int partitionSizeHi
and store the top 32 bits of the real number of blocks and
partition size. modify rf_print_component_label(),
rf_does_it_fit(), rf_AutoConfigureDisks() and
rf_ReconstructFailedDiskBasic().
- - call disk_blocksize() after disk_attach() [ from mlelstv ]
- - shift the block number relative to DEV_BSHIFT in raidstart()
and InitBP() so that accesses work for non 512-byte devices.
[ from mlelstv ]
- - update rf_getdisksize() to use the new getdisksize() [ from
mlelstv. this part needs a separate change for netbsd-5. ]
reviewed by: oster, christos and darrenr
Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Nov 19 06:44:40 2010 UTC (14 years, 4 months ago) by dholland
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +12 -3
lines
Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.
Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).
The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.
Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:32 2010 UTC (14 years, 4 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.72.2.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.1: +4 -2
lines
Sync with HEAD.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Nov 1 02:35:25 2010 UTC (14 years, 4 months ago) by mrg
Branches: MAIN
CVS tags: uebayasi-xip-base4
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -2
lines
add support for >2TB raid devices.
- add two new members to the component label:
u_int numBlocksHi
u_int partitionSizeHi
and store the top 32 bits of the real number of blocks and
partition size. modify rf_print_component_label(),
rf_does_it_fit(), rf_AutoConfigureDisks() and
rf_ReconstructFailedDiskBasic().
- call disk_blocksize() after disk_attach() [ from mlelstv ]
- shift the block number relative to DEV_BSHIFT in raidstart()
and InitBP() so that accesses work for non 512-byte devices.
[ from mlelstv ]
- update rf_getdisksize() to use the new getdisksize() [ from
mlelstv. this part needs a separate change for netbsd-5. ]
reviewed by: oster, christos and darrenr
Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:47 2010 UTC (14 years, 10 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +5 -3
lines
Sync with HEAD.
Revision 1.70.10.1.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:27:51 2010 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.70.10.1: preferred, colored; next MAIN 1.70.10.2: preferred, colored
Changes since revision 1.70.10.1: +8 -11
lines
sync to netbsd-5
Revision 1.69.10.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:01 2010 UTC (15 years ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.69.10.2: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.10.2: +10 -11
lines
sync with head
Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Mar 1 21:10:26 2010 UTC (15 years ago) by jld
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +5 -3
lines
When setting up a non-autoconfigured RAID set, fail a component if the
attempt to read its label fails. OKed by oster@.
Revision 1.70.10.2: download - view: text, markup, annotated - select for diffs
Thu Dec 10 22:59:16 2009 UTC (15 years, 3 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1
Diff to: previous 1.70.10.1: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.10.1: +8 -11
lines
Pull up following revision(s) (requested by tron in ticket #1187):
sbin/raidctl/raidctl.8: revisions 1.57-1.59 via patch
sbin/raidctl/raidctl.c: revision 1.42 via patch
sys/dev/raidframe/files.raidframe: revision 1.8 via patch
sys/dev/raidframe/rf_copyback.c: revision 1.42 via patch
sys/dev/raidframe/rf_disks.c: revision 1.72 via patch
sys/dev/raidframe/rf_driver.c: revision 1.122 via patch
sys/dev/raidframe/rf_engine.c: revision 1.40 via patch
sys/dev/raidframe/rf_kintf.h: revision 1.21 via patch
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.269 via patch
sys/dev/raidframe/rf_paritymap.c: revisions 1.1-1.3 via patch
sys/dev/raidframe/rf_paritymap.h: revision 1.1 via patch
sys/dev/raidframe/rf_parityscan.c: revision 1.33 via patch
sys/dev/raidframe/rf_parityscan.h: revision 1.8 via patch
sys/dev/raidframe/rf_raid.h: revision 1.38 via patch
sys/dev/raidframe/rf_reconstruct.c: revision 1.108 via patch
sys/dev/raidframe/rf_states.c: revision 1.44 via patch
sys/dev/raidframe/raidframeio.h: revision 1.6 via patch
sys/dev/raidframe/raidframevar.h: revision 1.13 via patch
Pull up the RAIDframe parity map Summer Of Code project.
Drastically reduces the amount of time spent rewriting parity after an
unclean shutdown by keeping better track of which regions might have had
outstanding writes. Enabled by default; can be disabled on a per-set
basis, or tuned, with the new raidctl(8) commands.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Nov 17 18:54:26 2009 UTC (15 years, 4 months ago) by jld
Branches: MAIN
CVS tags: uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +8 -11
lines
Finally commit the RAIDframe parity map Summer Of Code project.
Drastically reduces the amount of time spent rewriting parity after an
unclean shutdown by keeping better track of which regions might have had
outstanding writes. Enabled by default; can be disabled on a per-set
basis, or tuned, with the new raidctl(8) commands.
Discussed on tech-kern@ to a general air of approval; exhortations to
commit from mrg@, christos@, and others.
Thanks to Google for their sponsorship, oster@ for mentoring the
project, assorted developers for trying very hard to break it, and
probably more I'm forgetting.
Revision 1.70.14.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:21:16 2009 UTC (15 years, 10 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +19 -18
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.69.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:16 2009 UTC (15 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.69.10.1: preferred, colored; branchpoint 1.69: preferred, colored
Changes since revision 1.69.10.1: +19 -18
lines
sync with head.
Revision 1.70.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:36:27 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +19 -18
lines
Sync with HEAD.
Revision 1.70.10.1: download - view: text, markup, annotated - select for diffs
Sat Apr 4 17:15:14 2009 UTC (15 years, 11 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +19 -18
lines
Pull up following revision(s) (requested by sborrill in ticket #652):
sys/dev/raidframe/rf_disks.c: revision 1.71
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.260
Switch various printfs from %ld and %d to PRIu64, etc. to be more consistent
about types (for instance uint32_t was being printed with %d).
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Apr 3 16:23:41 2009 UTC (15 years, 11 months ago) by sborrill
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +19 -18
lines
Switch various printfs from %ld and %d to PRIu64, etc. to be more consistent
about types (for instance uint32_t was being printed with %d).
Revision 1.69.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:48 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +2 -9
lines
Sync with HEAD.
Revision 1.69.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:40 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +2 -9
lines
sync with head.
Revision 1.69.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:01 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -9
lines
sync with head.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:56 2008 UTC (16 years, 10 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-hppapmap-base2,
netbsd-5-base,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
mjf-devfs2-base,
matt-mips64-base2,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
netbsd-5,
jym-xensuspend
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.67.6.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:52 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.67.6.1: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.6.1: +5 -8
lines
sync with HEAD
Revision 1.67.12.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:20 2008 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.67.12.1: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.12.1: +5 -8
lines
Sync with HEAD.
Revision 1.58.2.5: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:23:34 2008 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.58.2.4: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.2.4: +5 -8
lines
sync with head.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Jan 26 20:44:47 2008 UTC (17 years, 1 month ago) by oster
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +5 -8
lines
In a land before time, when kernel processes roamed the system, we
needed to keep track of the kernel process that opened a device in
order to close it with the right credentials. Flash forward to today
where curlwp is now quite sufficient.
Revision 1.67.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:54:24 2008 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -4
lines
sync with HEAD
Revision 1.67.12.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:19:53 2007 UTC (17 years, 3 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -4
lines
Sync with HEAD.
Revision 1.58.2.4: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:31:04 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.58.2.3: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.2.3: +4 -4
lines
sync with head
Revision 1.67.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:37:25 2007 UTC (17 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +4 -4
lines
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:01:37 2007 UTC (17 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
matt-armv6-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -4
lines
Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp should
be used.
quick consensus on tech-kern
Revision 1.58.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:38:17 2007 UTC (17 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.58.2.2: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.2.2: +5 -5
lines
sync with head.
Revision 1.64.12.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:04:42 2007 UTC (17 years, 6 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +3 -3
lines
Sync w/ NetBSD-4-RC_1
Revision 1.64.8.3: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:37:37 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.64.8.2: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.8.2: +3 -3
lines
Sync with HEAD.
Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:40 2007 UTC (17 years, 7 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +3 -3
lines
Sync with HEAD.
Revision 1.67.14.2: download - view: text, markup, annotated - select for diffs
Wed Jul 18 19:04:59 2007 UTC (17 years, 8 months ago) by ad
Branches: matt-mips64
Diff to: previous 1.67.14.1: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.14.1: +1113 -0
lines
Fix fallout from recent kthread changes.
Revision 1.67.14.1
Wed Jul 18 19:04:58 2007 UTC (17 years, 8 months ago) by ad
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.67: +0 -1113
lines
file rf_disks.c was added on branch matt-mips64 on 2007-07-18 19:04:59 +0000
Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Jul 18 19:04:58 2007 UTC (17 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5,
matt-mips64-base,
matt-armv6-prevmlocking,
jmcneill-base,
hpcarm-cleanup,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs,
matt-mips64,
matt-armv6,
jmcneill-pm
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3
lines
Fix fallout from recent kthread changes.
Revision 1.64.8.2: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:21:41 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.64.8.1: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.8.1: +3 -3
lines
Sync with head.
Revision 1.64.10.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:08:09 2007 UTC (17 years, 8 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +4 -4
lines
Sync with head.
Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 1 17:09:25 2007 UTC (17 years, 8 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +3 -3
lines
Pull up following revision(s) (requested by cube in ticket #748):
sys/dev/dksubr.c: revision 1.29
sys/dev/ccd.c: revision 1.120
sys/dev/raidframe/rf_disks.c: revision 1.66
sys/dev/raidframe/rf_reconstruct.c: revision 1.96
sys/dev/cgd.c: revision 1.45
sys/dev/dkvar.h: revision 1.11
sys/dev/raidframe/rf_copyback.c: revision 1.38
Change dk_lookup() to accept an additional argument of the type enum uio_seg
that tells whether the given path is in user space or kernel space, so it
can tell NDINIT().
While the raidframe calls were ok, both ccd(4) and cgd(4) were passing
pointers to user space data, which leads to strange error on i386, as
reported by Jukka Salmi on current-users.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Jun 26 15:22:24 2007 UTC (17 years, 9 months ago) by cube
Branches: MAIN
CVS tags: nick-csl-alignment-base,
mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3
lines
Change dk_lookup() to accept an additional argument of the type enum uio_seg
that tells whether the given path is in user space or kernel space, so it
can tell NDINIT().
While the raidframe calls were ok, both ccd(4) and cgd(4) were passing
pointers to user space data, which leads to strange error on i386, as
reported by Jukka Salmi on current-users.
The issue has been there since last august, I'm actually a bit surprised
that no one in the meantime has used ccd(4) or cgd(4) on an arch where it
would have simply faulted.
Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:45 2007 UTC (18 years ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +3 -3
lines
sync with head.
Revision 1.64.8.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:50:29 2007 UTC (18 years ago) by ad
Branches: vmlocking
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3
lines
Sync with head.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:31:24 2007 UTC (18 years ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3
lines
Fix typo in print statement; from khorben
Revision 1.58.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:49:30 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.58.2.1: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.2.1: +8 -18
lines
sync with head.
Revision 1.62.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:11 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.62.4.1: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.4.1: +7 -7
lines
sync with head.
Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:46 2006 UTC (18 years, 4 months ago) by ad
Branches: newlock2
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +4 -3
lines
Sync with head.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:23 2006 UTC (18 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp,
wrstuden-fixsa,
vmlocking,
netbsd-4,
mjf-ufs-trans
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +7 -7
lines
__unused removal on arguments; approved by core.
Revision 1.62.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:43 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +7 -6
lines
sync with head
Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:50 2006 UTC (18 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +7 -6
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:54:05 2006 UTC (18 years, 6 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +7 -17
lines
sync with head
Revision 1.59.8.3: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:24:48 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.59.8.2: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.8.2: +5 -14
lines
sync with head.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Aug 27 05:07:12 2006 UTC (18 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +5 -14
lines
- use dk_lookup instead of our home-spun version.
- allow raid to be configured in a wedge
- allow wedges to be configured in a raid
- add autoconfiguration of wedges in a raid
Revision 1.59.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:45:08 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.59.8.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.8.1: +4 -6
lines
sync with head
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Jul 21 16:48:52 2006 UTC (18 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -6
lines
- Use the LWP cached credentials where sane.
- Minor cosmetic changes.
Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:06:28 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +9 -7
lines
sync with head.
Revision 1.59.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:37:32 2006 UTC (18 years, 9 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +5 -4
lines
Sync with head.
Revision 1.59.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:29 2006 UTC (18 years, 10 months ago) by tron
Branches: peter-altq
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +5 -4
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.59.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:58:14 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +5 -4
lines
sync with head.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun May 14 21:45:00 2006 UTC (18 years, 10 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
chap-midi
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +5 -4
lines
integrate kauth.
Revision 1.59.10.2: download - view: text, markup, annotated - select for diffs
Sat May 6 23:31:28 2006 UTC (18 years, 10 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.59.10.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.10.1: +3 -2
lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
that need it.
Approved by core.
Revision 1.59.10.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:44:49 2006 UTC (19 years ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -4
lines
Adapt to kernel authorization KPI.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:23:37 2005 UTC (19 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base,
elad-kernelauth-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +8 -7
lines
merge ktrace-lwp.
Revision 1.44.2.8: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:07:40 2005 UTC (19 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.44.2.7: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.2.7: +4 -4
lines
Sync with HEAD. Here we go again...
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 17 13:36:04 2005 UTC (19 years, 9 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.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +4 -4
lines
Pull up revision 1.58 (requested by oster in ticket #472):
- avoid variable shadowing
- add a lot of const
- remove parameters from function declarations
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun May 29 22:03:09 2005 UTC (19 years, 9 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.57: preferred, colored
Changes since revision 1.57: +4 -4
lines
- avoid variable shadowing
- add a lot of const
- remove parameters from functin declarations
Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:15 2005 UTC (19 years, 10 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +99 -99
lines
sync with -current
Revision 1.56.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:41 2005 UTC (20 years ago) by yamt
Branches: yamt-km
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +99 -99
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.44.2.7: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:50:06 2005 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.44.2.6: preferred, colored
Changes since revision 1.44.2.6: +99 -99
lines
Sync with HEAD.
Hi Perry!
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:44 2005 UTC (20 years 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.56: preferred, colored
Changes since revision 1.56: +99 -99
lines
nuke trailing whitespace
Revision 1.44.2.6: download - view: text, markup, annotated - select for diffs
Tue Oct 19 15:57:27 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.44.2.5: preferred, colored
Changes since revision 1.44.2.5: +10 -5
lines
Sync with HEAD
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Oct 10 11:15:22 2004 UTC (20 years, 5 months ago) by tron
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +10 -6
lines
Make this actually compile.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Oct 10 01:17:40 2004 UTC (20 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -5
lines
when truncating a spare disk, also log what its original size was.
Revision 1.44.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:32:52 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.44.2.4: preferred, colored
Changes since revision 1.44.2.4: +8 -7
lines
Fix the sync with head I botched.
Revision 1.44.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:50:54 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.44.2.3: preferred, colored
Changes since revision 1.44.2.3: +7 -8
lines
Sync with HEAD.
Revision 1.44.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 3 12:45:38 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.44.2.2: preferred, colored
Changes since revision 1.44.2.2: +5 -2
lines
Sync with HEAD
Revision 1.38.10.2: download - view: text, markup, annotated - select for diffs
Tue Aug 31 01:20:57 2004 UTC (20 years, 6 months ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.38.10.1: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.10.1: +5 -2
lines
Pullup rev 1.54 (requested by oster in ticket #1740)
rf_CheckLabels() needs to die, but for now, we patch it by setting
fatal_error when too_fatal is set, and by setting fatal_error in a
couple other critical cases.
Revision 1.51.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 30 08:42:48 2004 UTC (20 years, 6 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2
Diff to: previous 1.51.2.1: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.1: +3 -0
lines
Pull up revision 1.54 (requested by oster in ticket #797):
rf_CheckLabels() needs to die, but for now, we patch it by setting
fatal_error when too_fatal is set, and by setting fatal_error in a
couple other critical cases.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Aug 26 17:09:18 2004 UTC (20 years, 7 months ago) by oster
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -2
lines
rf_CheckLabels() needs to die, but for now, we patch it by setting
fatal_error when too_fatal is set, and by setting fatal_error in a
couple other critical cases.
Revision 1.44.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:50:43 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.44.2.1: preferred, colored
Changes since revision 1.44.2.1: +304 -374
lines
Sync with HEAD
Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Sun May 23 10:59:49 2004 UTC (20 years, 10 months ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +9 -2
lines
Pull up revision 1.53 (requested by oster in ticket #377):
Add support for the word "absent" in the "disks" section of
RAID config files. Used as a placeholder for a component that
will eventually be added into the set.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat May 22 20:56:52 2004 UTC (20 years, 10 months ago) by oster
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +9 -2
lines
Add support for the word "absent" in the "disks" section of
RAID config files. Used as a placeholder for a component that
will eventually be added into the set.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Apr 22 00:17:12 2004 UTC (20 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +7 -6
lines
sprintf -> snprintf
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Mar 21 06:32:03 2004 UTC (21 years ago) by oster
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +5 -3
lines
Fix a nastly little bug that I've been chasing over the past 12 hours.
If raidPtr->numFailures isn't initialized properly, then all sorts of
whacky things can happen, including incorrect DAGs being generated.
(Triggering this problem is a little esoteric, which is why this bug has
been in hiding for so long -- I only saw it after rebooting with a
degraded RAID 5 set that was autoconfigured, rebuilding the failed
componennt, and then failing the component while IO was happening to
the RAID set.)
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Mar 13 03:32:08 2004 UTC (21 years ago) by oster
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3
lines
raidPtr->num_spare is *NOT* sufficient here. We must allocate
at least an additional RF_MAXSPARE spare units, just in case.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Dec 30 21:59:03 2003 UTC (21 years, 2 months ago) by oster
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +21 -51
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.48: download - view: text, markup, annotated - select for diffs
Tue Dec 30 17:46:59 2003 UTC (21 years, 2 months ago) by oster
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -4
lines
Fix slight bogon from row removal. 'r' would have been 0 here, not 1,
which means r*raidPtr->numCol would have always been 0, not raidPtr->numCol.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Dec 29 03:33:48 2003 UTC (21 years, 2 months ago) by oster
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +6 -5
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.46: download - view: text, markup, annotated - select for diffs
Mon Dec 29 02:38:17 2003 UTC (21 years, 2 months ago) by oster
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +277 -327
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.45: download - view: text, markup, annotated - select for diffs
Tue Oct 21 00:22:04 2003 UTC (21 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3
lines
Correct NULL abuse.
Revision 1.38.10.1: download - view: text, markup, annotated - select for diffs
Mon Oct 20 05:25:38 2003 UTC (21 years, 5 months ago) by cyber
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -2
lines
Pull up revision 1.42 (requested by oster in ticket #1531):
Remember to close the component if we decide it's not suitable for use
as a hot spare. Closes PR#20989 by David Brownlee.
Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:14 2003 UTC (21 years, 8 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +8 -7
lines
Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:30:32 2003 UTC (21 years, 8 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -6
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:42 2003 UTC (21 years, 8 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +8 -7
lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Apr 13 22:07:11 2003 UTC (21 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -2
lines
Remember to close the component if we decide it's not suitable for use
as a hot spare. Closes PR#20989 by David Brownlee.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Mar 21 23:11:22 2003 UTC (22 years ago) by dsl
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3
lines
Use 'void *' instead of 'caddr_t' in prototypes of VOP_IOCTL, VOP_FCNTL
and VOP_ADVLOCK, delete casts from callers (and some to copyin/out).
Revision 1.34.2.5: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:11:55 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.34.2.4: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.4: +13 -2
lines
Catch up to -current
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Oct 22 03:15:28 2002 UTC (22 years, 5 months ago) by oster
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +15 -4
lines
Better protect hot-spare adding, and make it LOCKDEBUG friendly.
Revision 1.34.2.4: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:43:47 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.34.2.3: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.3: +2 -7
lines
Catch up to -current.
Revision 1.34.4.2: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:41:49 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.34.4.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.4.1: +2 -7
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.39: download - view: text, markup, annotated - select for diffs
Mon Sep 23 02:51:43 2002 UTC (22 years, 6 months ago) by oster
Branches: MAIN
CVS tags: kqueue-base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -7
lines
Neither force nor retcode are used. *poof* Thanks to Simon B.
Revision 1.34.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:57:44 2002 UTC (23 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -8
lines
Sync kqueue branch with -current.
Revision 1.34.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:31:34 2002 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.34.2.2: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.2: +2 -3
lines
Catch up to -current.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Nov 15 09:48:13 2001 UTC (23 years, 4 months 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-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
ifpoll-base,
gehenna-devsw-base,
gehenna-devsw,
eeh-devprop-base,
eeh-devprop
Branch point for: netbsd-1-6
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -3
lines
don't need <sys/types.h> when including <sys/param.h>
Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:15:48 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.34.2.1: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.1: +4 -1
lines
Catch up to -current.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Nov 13 07:11:13 2001 UTC (23 years, 4 months ago) by lukem
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -1
lines
add RCSIDs
Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 22 20:41:35 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -7
lines
Catch up to -current.
Revision 1.34.6.2: download - view: text, markup, annotated - select for diffs
Thu Oct 11 00:02:18 2001 UTC (23 years, 5 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.34.6.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.6.1: +3 -7
lines
Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Oct 5 15:41:23 2001 UTC (23 years, 5 months ago) by oster
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -5
lines
More #if 0's bite the dust.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Oct 4 15:58:53 2001 UTC (23 years, 5 months ago) by oster
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +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.34.6.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:28 2001 UTC (23 years, 6 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -11
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.13.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:12:38 2000 UTC (24 years, 3 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.1: +3 -1
lines
Sync with HEAD.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Dec 5 01:35:56 2000 UTC (24 years, 3 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.33: preferred, colored
Changes since revision 1.33: +3 -1
lines
Fix a couple of warnings about uninitialized variables. Thanks go to
Frank van der Linden for pointing these out.
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:42:53 2000 UTC (24 years, 4 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +336 -62
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.31.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 17 20:11:33 2000 UTC (24 years, 5 months ago) by tv
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.31.2.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.1: +2 -2
lines
Pullup 1.33 [oster]:
Correct a few calls to VOP_CLOSE().
Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Sep 21 01:37:36 2000 UTC (24 years, 6 months ago) by oster
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
Correct a few calls to VOP_CLOSE().
Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 8 13:42:50 2000 UTC (24 years, 6 months ago) by oster
Branches: netbsd-1-5
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -1
lines
Pullup 1.31->1.32 of rf_disks.c
Pullup 1.95->1.96 of rf_netbsdkintf.c
Approved by: thorpej
Make sure we are passing a locked vp to VOP_CLOSE.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Sep 8 01:36:35 2000 UTC (24 years, 6 months ago) by oster
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -1
lines
Make sure we are passing a locked vp to VOP_CLOSE.
Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:07:53 2000 UTC (24 years, 9 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +65 -15
lines
Sync w/ netbsd-1-5-base.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Jun 2 01:17:14 2000 UTC (24 years, 9 months ago) by oster
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -1
lines
Use 'componentN' rather than leaving blanks for non-existant disks
in the 'raidctl -s' output.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon May 29 02:57:34 2000 UTC (24 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +8 -16
lines
Don't let the autodetection code get tripped up by negative mod-counters.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun May 28 22:53:49 2000 UTC (24 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +56 -16
lines
In the event that an up-to-date component cannot be located for a specific
position, see if there is a failed component still hanging around that
we can use instead (but still mark it as failed). This leads to more
reasonable behaviour (and fewer surprises!) when autoconfiguring and
failed (or previously failed) components are still on the system.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun May 28 05:23:42 2000 UTC (24 years, 10 months ago) by oster
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +18 -2
lines
We need to be slightly more clever during auto-configuration, to make
sure that we a) don't ignore components with correct mod-counters, and
b) do ignore components with bogus mod-counters.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Mar 31 02:05:24 2000 UTC (24 years, 11 months ago) by oster
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -1
lines
Minor cleanup of unneeded verbosity.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Mar 27 03:25:17 2000 UTC (25 years ago) by oster
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -8
lines
cleanup function prototypes.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Mar 26 22:38:29 2000 UTC (25 years ago) by oster
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +33 -1
lines
Add bits for eventual support of deleteing components and moving
hot-spares into the main set.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Mar 25 16:24:57 2000 UTC (25 years ago) by oster
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -2
lines
Nuke a function prototype that shouldn't be here.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Mar 7 02:28:05 2000 UTC (25 years ago) by oster
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -2
lines
Move rf_UnconfigureVnodes to rf_netbsdkintf.c where it will be more at home.
Add prototype to rf_kintf.h, and nuke old prototypes from rf_disks.c and
rf_driver.c .
Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Mar 3 03:47:17 2000 UTC (25 years ago) by oster
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -34
lines
Use the common disk allocation code, rather doing things the old way.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Mar 3 03:10:03 2000 UTC (25 years ago) by oster
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4
lines
Minor formatting cleanup.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Feb 25 19:56:32 2000 UTC (25 years, 1 month ago) by oster
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +47 -6
lines
- ignore components whose mod_counter values are too low.
- noting the mod_counter for autoconfigured sets would be a win too.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Feb 24 03:48:41 2000 UTC (25 years, 1 month ago) by oster
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -3
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.18: download - view: text, markup, annotated - select for diffs
Thu Feb 24 02:55:05 2000 UTC (25 years, 1 month ago) by oster
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
Now that we have the information available, use the general maxOutstanding
value for the RAID set, rather than looking at Queue[0][0] (which may not
exist).
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Feb 24 01:22:32 2000 UTC (25 years, 1 month ago) by oster
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +18 -1
lines
- make sure we note the parity status in the autoconfig case.
- also, make sure we grab the serial number from the component labels
when we autoconfig.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Feb 23 02:01:55 2000 UTC (25 years, 1 month ago) by oster
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -1
lines
Make a note of autoconfigured components.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Feb 13 04:53:57 2000 UTC (25 years, 1 month ago) by oster
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +176 -17
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.14: download - view: text, markup, annotated - select for diffs
Sun Jan 9 01:29:28 2000 UTC (25 years, 2 months ago) by oster
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -4
lines
- move a bunch of function prototypes to rf_kintf.h
- general cleanup of a number of prototypes that were scattered around.
Revision 1.8.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:34:26 1999 UTC (25 years, 3 months ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +25 -8
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.13: download - view: text, markup, annotated - select for diffs
Sat Aug 14 03:10:03 1999 UTC (25 years, 7 months ago) by oster
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: thorpej_scsipi
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2
lines
Remove a 'struct proc *'-passing abomination that's been bugging me
for quite some time.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Aug 13 03:41:56 1999 UTC (25 years, 7 months ago) by oster
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -2
lines
rf_sys.h does not need to be #included in any of these files, and, actually,
is no longer needed at all.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Aug 10 22:56:20 1999 UTC (25 years, 7 months ago) by oster
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
When reporting the status of a component during configuration,
provide more intuitive information about whether a component is clean
or not.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 23 14:36:57 1999 UTC (25 years, 9 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.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +25 -8
lines
pullup 1.8->1.9 (oster)
Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:18:57 1999 UTC (25 years, 9 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +29 -8
lines
Sync w/ -current.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Jun 4 02:02:39 1999 UTC (25 years, 9 months ago) by oster
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -1
lines
When adding a hot spare, remember to lock down the main raidPtr
structure before mucking with its contents.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jun 4 01:50:01 1999 UTC (25 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +25 -8
lines
Don't count two problems with a single component as two
component failures! Also: remember to configure the disk queues for
the spares -- failure to do that is Bad(tm).
Huge Thanks to Martin Laubach for helping track this down.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Mar 18 03:02:38 1999 UTC (26 years 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.7: preferred, colored
Changes since revision 1.7: +15 -2
lines
Correct a component label problem where a RAID 1 set with a
failed component would not configure properly in certain situations.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Mar 2 03:18:49 1999 UTC (26 years ago) by oster
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +315 -63
lines
Update for recent changes including component label support, clean
bits, rebuilding components in-place, adding hot spares, shutdownhooks, etc.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Feb 24 00:00:03 1999 UTC (26 years, 1 month ago) by oster
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +322 -189
lines
Minor cleanups and code rearranging. Now knows a little about component
labels and how to deal with hot-adding spare components. Still work in
progress -- component labels and hot-adding are not enabled (yet).
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Feb 5 00:06:09 1999 UTC (26 years, 1 month ago) by oster
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +342 -337
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.4: download - view: text, markup, annotated - select for diffs
Tue Jan 26 03:49:49 1999 UTC (26 years, 2 months ago) by oster
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -3
lines
rf_ccmn.h no longer needed. Nuke it's inclusion from rf_disks.c.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Jan 26 02:33:56 1999 UTC (26 years, 2 months ago) by oster
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -170
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.2: download - view: text, markup, annotated - select for diffs
Thu Dec 3 15:06:25 1998 UTC (26 years, 3 months 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: +18 -2
lines
If a configuration fails due to a non-existant spare, remember to release
any previously allocated components before bailing. Credit to Manuel Bouyer
for noticing this.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Nov 13 04:20:29 1998 UTC (26 years, 4 months 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>