The NetBSD Project

CVS log for src/sys/dev/raidframe/Attic/rf_copyback.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.56
Mon Sep 25 21:59:38 2023 UTC (14 months, 2 weeks ago) by oster
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
FILE REMOVED
Changes since revision 1.55: +2 -2 lines


We no longer need the deprecated copyback functionality now that
incorporating a used spare is automatic.

Copyback has always been an issue, as to do a copyback all IO to
the array had to be suspended, and so was very, very unlikely to
have been used in anything resembling a production system.

Revision 1.53.12.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:30 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +6 -8 lines
Sync with HEAD.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Jul 27 03:01:48 2021 UTC (3 years, 4 months ago) by oster
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, 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, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -6 lines
rf_CreateDiskQueueData() no longer uses waitflag, and will always succeed.
Cleanup the error path for the (no longer needed) PR_NOWAIT cases.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Jul 23 00:54:45 2021 UTC (3 years, 4 months ago) by oster
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -4 lines

Extensive mechanical changes to the pools used in RAIDframe.

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

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

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

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

Revision 1.50.28.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:47 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.50.28.2: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.28.2: +10 -12 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.50.28.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:11 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.50.28.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.28.1: +4 -4 lines
Merge changes from current as of 20200406

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Dec 8 12:14:40 2019 UTC (5 years ago) by mlelstv
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, 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
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -4 lines
Switch to vn_bdev_open* functions.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Oct 10 03:43:59 2019 UTC (5 years, 2 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +12 -14 lines
fix the function pointer and callback mess:
- callback functions return 0 and their result is not checked; make them void.
- there are two types of callbacks and they used to overload their parameters
  and the callback structure; separate them into "function" and "value"
  callbacks.
- make the wait function signature consistent.

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

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Feb 9 03:33:59 2019 UTC (5 years, 10 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +5 -4 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.49.12.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:49 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +6 -10 lines
Rebase to HEAD as of a few days ago.

Revision 1.49.26.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:57 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +6 -10 lines
Rebase.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Jun 14 07:39:00 2014 UTC (10 years, 6 months ago) by hannken
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +6 -10 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.41.20.3: download - view: text, markup, annotated - select for diffs
Wed Jun 13 14:00:49 2012 UTC (12 years, 6 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.41.20.2: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.20.2: +4 -4 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.49: download - view: text, markup, annotated - select for diffs
Fri Oct 14 09:23:30 2011 UTC (13 years, 2 months ago) by hannken
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +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.48: download - view: text, markup, annotated - select for diffs
Wed Aug 3 14:44:38 2011 UTC (13 years, 4 months ago) by oster
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines

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

Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:08:32 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +12 -12 lines
Sync with HEAD.

Revision 1.42.4.2: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:53 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.42.4.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.4.1: +8 -8 lines
sync with head

Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed May 11 18:13:12 2011 UTC (13 years, 7 months ago) by mrg
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +6 -6 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.46: download - view: text, markup, annotated - select for diffs
Sun May 1 01:09:05 2011 UTC (13 years, 7 months ago) by mrg
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +6 -6 lines
convert mcpair to kmutex.

Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:54:03 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +16 -5 lines
sync with head

Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:29 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +4 -4 lines
Sync with HEAD

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Feb 19 07:11:09 2011 UTC (13 years, 9 months ago) by enami
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -4 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.41.20.2: download - view: text, markup, annotated - select for diffs
Sun Nov 21 22:06:53 2010 UTC (14 years ago) by riz
Branches: netbsd-5
CVS tags: matt-nb5-pq3-base, matt-nb5-pq3
Diff to: previous 1.41.20.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.20.1: +3 -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.44: download - view: text, markup, annotated - select for diffs
Fri Nov 19 06:44:40 2010 UTC (14 years ago) by dholland
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +14 -4 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.42.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:32 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +3 -2 lines
Sync with HEAD.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Nov 1 02:35:25 2010 UTC (14 years, 1 month ago) by mrg
Branches: MAIN
CVS tags: uebayasi-xip-base4
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -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.41.28.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:27:50 2010 UTC (14 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +14 -16 lines
sync to netbsd-5

Revision 1.41.10.1: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:01 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +14 -16 lines
sync with head

Revision 1.41.20.1: download - view: text, markup, annotated - select for diffs
Thu Dec 10 22:59:16 2009 UTC (15 years 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.41: preferred, colored
Changes since revision 1.41: +14 -16 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.42: download - view: text, markup, annotated - select for diffs
Tue Nov 17 18:54:26 2009 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, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +14 -16 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.39.6.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:52 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.39.6.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.6.1: +5 -8 lines
sync with HEAD

Revision 1.39.12.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:20 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.39.12.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.12.1: +5 -8 lines
Sync with HEAD.

Revision 1.31.4.5: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:23:33 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.31.4.4: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.4.4: +5 -8 lines
sync with head.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Jan 26 20:44:37 2008 UTC (16 years, 10 months ago) by oster
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, netbsd-5, matt-nb5-mips64
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +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.39.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:54:23 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
sync with HEAD

Revision 1.39.12.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:19:53 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
Sync with HEAD.

Revision 1.31.4.4: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:31:04 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.31.4.3: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.4.3: +3 -3 lines
sync with head

Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:37:24 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +3 -3 lines
Sync with HEAD. amd64 Xen support needs testing.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:01:37 2007 UTC (17 years 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.39: preferred, colored
Changes since revision 1.39: +3 -3 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.31.4.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:38:15 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.31.4.2: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.4.2: +5 -4 lines
sync with head.

Revision 1.37.16.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:04:41 2007 UTC (17 years, 3 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +4 -3 lines
Sync w/ NetBSD-4-RC_1

Revision 1.37.8.2: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:37:35 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.37.8.1: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.8.1: +3 -3 lines
Sync with HEAD.

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:40 2007 UTC (17 years, 4 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +3 -3 lines
Sync with HEAD.

Revision 1.39.14.2: download - view: text, markup, annotated - select for diffs
Wed Jul 18 19:04:59 2007 UTC (17 years, 5 months ago) by ad
Branches: matt-mips64
Diff to: previous 1.39.14.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.14.1: +426 -0 lines
Fix fallout from recent kthread changes.

Revision 1.39.14.1
Wed Jul 18 19:04:58 2007 UTC (17 years, 5 months ago) by ad
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.39: +0 -426 lines
file rf_copyback.c was added on branch matt-mips64 on 2007-07-18 19:04:59 +0000

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Jul 18 19:04:58 2007 UTC (17 years, 5 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.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
Fix fallout from recent kthread changes.

Revision 1.37.8.1: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:21:41 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -3 lines
Sync with head.

Revision 1.37.10.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:08:09 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +4 -3 lines
Sync with head.

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 1 17:09:26 2007 UTC (17 years, 5 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.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +4 -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.38: download - view: text, markup, annotated - select for diffs
Tue Jun 26 15:22:24 2007 UTC (17 years, 5 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.37: preferred, colored
Changes since revision 1.37: +4 -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.31.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:49:30 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.31.4.1: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.4.1: +7 -16 lines
sync with head.

Revision 1.35.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:11 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.35.4.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.4.1: +3 -3 lines
sync with head.

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

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:23 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, ad-audiomp-base, ad-audiomp
Branch point for: wrstuden-fixsa, vmlocking, netbsd-4, mjf-ufs-trans
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
__unused removal on arguments; approved by core.

Revision 1.35.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:43 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -4 lines
sync with head

Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:50 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -4 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.32.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:54:05 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +6 -14 lines
sync with head

Revision 1.32.8.3: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:24:48 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.32.8.2: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.8.2: +5 -11 lines
sync with head.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Aug 27 05:07:12 2006 UTC (18 years, 3 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.34: preferred, colored
Changes since revision 1.34: +5 -11 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.32.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:45:08 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.32.8.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.8.1: +4 -6 lines
sync with head

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Jul 21 16:48:52 2006 UTC (18 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -6 lines
- Use the LWP cached credentials where sane.
- Minor cosmetic changes.

Revision 1.31.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:06:28 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +8 -7 lines
sync with head.

Revision 1.32.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:37:32 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +4 -4 lines
Sync with head.

Revision 1.32.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:29 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +4 -4 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.32.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:58:13 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -4 lines
sync with head.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun May 14 21:45:00 2006 UTC (18 years, 7 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.32: preferred, colored
Changes since revision 1.32: +4 -4 lines
integrate kauth.

Revision 1.32.10.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:44:49 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +4 -4 lines
Adapt to kernel authorization KPI.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:23:37 2005 UTC (19 years 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.31: preferred, colored
Changes since revision 1.31: +8 -7 lines
merge ktrace-lwp.

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

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

Revision 1.25.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:50:05 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.25.2.5: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.5: +11 -11 lines
Sync with HEAD.

Hi Perry!

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:44 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-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, netbsd-3, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +11 -11 lines
nuke trailing whitespace

Revision 1.25.2.5: download - view: text, markup, annotated - select for diffs
Tue Feb 15 21:33:28 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.25.2.4: preferred, colored
Changes since revision 1.25.2.4: +6 -4 lines
Sync with HEAD.

Revision 1.28.10.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:50 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +6 -4 lines
sync with head.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Feb 12 03:44:41 2005 UTC (19 years, 10 months ago) by oster
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -4 lines
The 'next' argument to rf_CreateDiskQueueData is always NULL.  Since
there is no particular reason to pass an extra NULL argument, turf it,
and initialize p->next to NULL within the function.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Feb 12 03:27:33 2005 UTC (19 years, 10 months ago) by oster
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +6 -4 lines
Add a 'waitflag' argument to rf_CreateDiskQueueData() and use it to
determine if we are willing to wait for memory to come from the
diskqueuedata (dqd) and bufpool pools.  Cleanup the mess related to
code calling rf_CreateDiskQueueData() with different expectations
(and/or blatent disregard) of what might happen if there were
insufficient pool resources.

Revision 1.25.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:32:50 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.25.2.3: preferred, colored
Changes since revision 1.25.2.3: +8 -7 lines
Fix the sync with head I botched.

Revision 1.25.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:50:53 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.25.2.2: preferred, colored
Changes since revision 1.25.2.2: +7 -8 lines
Sync with HEAD.

Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:50:41 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.25.2.1: preferred, colored
Changes since revision 1.25.2.1: +64 -83 lines
Sync with HEAD

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Mar 4 02:49:58 2004 UTC (20 years, 9 months ago) by oster
Branches: MAIN
CVS tags: yamt-km-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -2 lines
Fix mcpair locking issues -- we really don't need the lock held
the entire time we spend in calling rf_DiskIOEnqueue().

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Dec 30 21:59:03 2003 UTC (20 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +14 -26 lines
Some days you wonder if some of the function declaration consistency
was just an accident in the first place.  Cleanup function decls and
a few comments.  [ok.. so I wasn't going to fix this many.. but once
you're on a roll....]

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Dec 29 02:38:17 2003 UTC (20 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +51 -60 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.25.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:26:14 2003 UTC (21 years, 5 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +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.25: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:30:32 2003 UTC (21 years, 5 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +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.24: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:42 2003 UTC (21 years, 5 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +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.23: download - view: text, markup, annotated - select for diffs
Fri Mar 21 23:11:22 2003 UTC (21 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +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.15.2.5: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:38:31 2002 UTC (22 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.15.2.4: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.4: +15 -9 lines
Sync with HEAD.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Nov 16 16:49:46 2002 UTC (22 years, 1 month ago) by oster
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +16 -11 lines
Clean up error reporting, and nuke some printf verbosity.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Nov 15 03:57:48 2002 UTC (22 years, 1 month ago) by oster
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -2 lines
After a rebuild-in-place, a reconstruct, or a copyback, we should
really be updating the component labels.

Revision 1.15.2.4: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:43:43 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.3: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.3: +12 -3 lines
Catch up to -current.

Revision 1.15.4.2: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:41:43 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.15.4.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.4.1: +12 -3 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Sep 17 03:30:33 2002 UTC (22 years, 3 months ago) by oster
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +12 -3 lines
Cast the RF_DEBUG_RECON net a little wider.

Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:57:38 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -17 lines
Sync kqueue branch with -current.

Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:31:34 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.2: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.2: +3 -3 lines
Catch up to -current.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Nov 15 09:48:13 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
don't need <sys/types.h> when including <sys/param.h>

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

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Nov 13 07:11:12 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -1 lines
add RCSIDs

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 22 20:41:32 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -16 lines
Catch up to -current.

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

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Oct 5 15:41:23 2001 UTC (23 years, 2 months ago) by oster
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -15 lines
More #if 0's bite the dust.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Oct 4 15:58:51 2001 UTC (23 years, 2 months ago) by oster
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Step 2 of the disentanglement.  We now look to <dev/raidframe/*> for
the stuff that used to live in rf_types.h, rf_raidframe.h, rf_layout.h,
rf_netbsd.h, rf_raid.h, rf_decluster,h, and a few other places.
Believe it or not, when this is all done, things will be cleaner.

No functional changes to RAIDframe.

Revision 1.15.6.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:28 2001 UTC (23 years, 3 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -10 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.9.2.2: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:16:14 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.1: +2 -1 lines
Sync with HEAD.

Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 3 19:12:22 2001 UTC (23 years, 10 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +2 -1 lines
Pull up revision 1.15 (requested by oster):
  Make sure we update the ``partitionSize'' field of the component
  labels when doing a reconstruct or copyback, instead of leaving
  behind possibly uninitialized junk, which could cause autoconfig
  failure on reboot.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Jan 26 02:16:24 2001 UTC (23 years, 10 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.14: preferred, colored
Changes since revision 1.14: +2 -1 lines
Ensure we update the 'partitionSize' field of the component labels
when doing a reconstruct or a copyback.  If we don't, junk might be
there, and that could cause the component to be not correctly
autoconfigured on reboot.  Thanks to Simon Burge for helping track this down.

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:42:51 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +21 -23 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.14: download - view: text, markup, annotated - select for diffs
Tue Mar 7 02:59:50 2000 UTC (24 years, 9 months ago) by oster
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -10 lines
Create a new rf_close_component() to handle vnode operations for closing
components.  Teach rf_UnconfigureVnodes() how to use it, and tell
the copyback and reconstruction code about it too.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Feb 23 02:03:03 2000 UTC (24 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +18 -13 lines
Do a better job of (re)initializing the component labels after
a reconstruct or a copyback.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jan 9 01:29:28 2000 UTC (24 years, 11 months ago) by oster
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -10 lines
- move a bunch of function prototypes to rf_kintf.h
- general cleanup of a number of prototypes that were scattered around.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jan 7 03:40:56 2000 UTC (24 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -2 lines
Nuke: #include "rf_threadid.h".

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jan 5 02:57:28 2000 UTC (24 years, 11 months ago) by oster
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -1 lines
- update RF_CREATE_THREAD to handle a 'process name' argument.
- fire up a new thread for parity re-writes, copybacks, and reconstructs.
  The ioctl's which trigger these actions now return immediately.
- add progress accounting for the above actions.
- minor rototillage of rf_netbsdkintf.c to deal with all of the above.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Aug 14 03:10:03 1999 UTC (25 years, 4 months ago) by oster
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Remove a 'struct proc *'-passing abomination that's been bugging me
for quite some time.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Aug 13 03:41:53 1999 UTC (25 years, 4 months ago) by oster
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +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.7: download - view: text, markup, annotated - select for diffs
Tue Mar 2 03:18:49 1999 UTC (25 years, 9 months ago) by oster
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +25 -1 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
Sat Feb 27 03:43:20 1999 UTC (25 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1 lines
After a vn_close(), set the vnode * to NULL so we don't try closing it
again later.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Feb 27 01:48:13 1999 UTC (25 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Do the VOP_UNLOCK() on an initialized vp, rather than random garbage.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Feb 23 23:53:37 1999 UTC (25 years, 9 months ago) by oster
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -2 lines
Do a VOP_UNLOCK() before a vn_close().

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Feb 5 00:06:06 1999 UTC (25 years, 10 months ago) by oster
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +316 -318 lines
Phase 2 of the RAIDframe cleanup.  The source is now closer to KNF
and is much easier to read.  No functionality changes.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jan 26 02:33:51 1999 UTC (25 years, 10 months ago) by oster
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -157 lines
RAIDframe cleanup, phase 1.  Nuke simulator support, user-land driver,
out-dated comments, and other unneeded stuff.  This helps prepare
for cleaning up the rest of the code, and adding new functionality.

No functional changes to the kernel code in this commit.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Nov 13 04:20:27 1998 UTC (26 years, 1 month ago) by oster
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
RAIDframe, version 1.1, from the Parallel Data Laboratory at
Carnegie Mellon University.  Full RAID implementation, including
levels 0, 1, 4, 5, 6, parity logging, and a few other goodies.
Ported to NetBSD by Greg Oster.

Diff request

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

Log view options

CVSweb <webmaster@jp.NetBSD.org>