Subject: CVS commit: src/sys
To: None <>
From: YAMAMOTO Takashi <>
List: source-changes
Date: 10/15/2005 17:29:32
Module Name:	src
Committed By:	yamt
Date:		Sat Oct 15 17:29:32 UTC 2005

Modified Files:
	src/sys/arch/acorn32/mainbus: fd.c
	src/sys/arch/amiga/dev: fd.c
	src/sys/arch/arc/jazz: fd.c
	src/sys/arch/atari/dev: fd.c hdfd.c
	src/sys/arch/dreamcast/dev/maple: mmemcard.c
	src/sys/arch/hp300/dev: ct.c mt.c rd.c rdvar.h
	src/sys/arch/mac68k/obio: iwm_fd.c iwm_fdvar.h
	src/sys/arch/pdp10/dev: hp.c rh.c rhvar.h
	src/sys/arch/sparc/dev: fd.c
	src/sys/arch/sun3/dev: fd.c xd.c xdvar.h xy.c xyvar.h
	src/sys/arch/vax/mba: hp.c mba.c mbavar.h
	src/sys/arch/vax/vax: ctu.c
	src/sys/arch/vax/vsa: hdc9224.c
	src/sys/arch/x68k/dev: fd.c
	src/sys/arch/xen/xen: xbd.c
	src/sys/conf: files
	src/sys/ddb: db_xxx.c
	src/sys/dev: ccd.c ccdvar.h cgd.c dksubr.c dkvar.h fss.c fssvar.h ld.c
	    ldvar.h md.c vnd.c vndvar.h
	src/sys/dev/ata: wd.c wdvar.h
	src/sys/dev/dkwedge: dk.c
	src/sys/dev/gpib: ct.c mt.c rd.c
	src/sys/dev/ic: rrunner.c rrunnervar.h
	src/sys/dev/isa: fd.c fdvar.h mcd.c
	src/sys/dev/mca: ed_mca.c edc_mca.c edvar.h
	src/sys/dev/mscp: mscp_disk.c mscp_subr.c mscpvar.h
	src/sys/dev/qbus: rf.c rl.c rlvar.h ts.c
	src/sys/dev/raidframe: rf_netbsdkintf.c
	src/sys/dev/scsipi: cd.c cdvar.h sd.c sdvar.h ss.c ss_mustek.c
	    ss_scanjet.c ssvar.h st.c stvar.h
	src/sys/dev/vme: xd.c xdvar.h xy.c xyvar.h
	src/sys/kern: bufq_disksort.c bufq_fcfs.c bufq_priocscan.c
	    bufq_readprio.c subr_disk.c
	src/sys/sys: bufq.h
	src/sys/ufs/mfs: mfs_vfsops.c mfs_vnops.c mfsnode.h
	src/sys/uvm: uvm_swap.c
Added Files:
	src/sys/kern: subr_bufq.c
	src/sys/sys: bufq_impl.h

Log Message:
- change the way to specify a bufq strategy.  (by string rather than by number)
- rather than embedding bufq_state in driver softc,
  have a pointer to the former.
- move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c.
- rename method to strategy for consistency.
- move some definitions which don't need to be exposed to the rest of kernel
  from sys/bufq.h to sys/bufq_impl.h.
  (is it better to move it to kern/ or somewhere?)
- fix some obvious breakage in dev/qbus/ts.c.  (not tested)

To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 src/sys/arch/acorn32/mainbus/fd.c
cvs rdiff -r1.64 -r1.65 src/sys/arch/amiga/dev/fd.c
cvs rdiff -r1.21 -r1.22 src/sys/arch/arc/jazz/fd.c
cvs rdiff -r1.50 -r1.51 src/sys/arch/atari/dev/fd.c
cvs rdiff -r1.45 -r1.46 src/sys/arch/atari/dev/hdfd.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/dreamcast/dev/maple/mmemcard.c
cvs rdiff -r1.42 -r1.43 src/sys/arch/hp300/dev/ct.c
cvs rdiff -r1.29 -r1.30 src/sys/arch/hp300/dev/mt.c
cvs rdiff -r1.67 -r1.68 src/sys/arch/hp300/dev/rd.c
cvs rdiff -r1.15 -r1.16 src/sys/arch/hp300/dev/rdvar.h
cvs rdiff -r1.33 -r1.34 src/sys/arch/mac68k/obio/iwm_fd.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/mac68k/obio/iwm_fdvar.h
cvs rdiff -r1.2 -r1.3 src/sys/arch/pdp10/dev/hp.c
cvs rdiff -r1.1 -r1.2 src/sys/arch/pdp10/dev/rh.c \
cvs rdiff -r1.117 -r1.118 src/sys/arch/sparc/dev/fd.c
cvs rdiff -r1.43 -r1.44 src/sys/arch/sun3/dev/fd.c
cvs rdiff -r1.49 -r1.50 src/sys/arch/sun3/dev/xd.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/sun3/dev/xdvar.h
cvs rdiff -r1.51 -r1.52 src/sys/arch/sun3/dev/xy.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/sun3/dev/xyvar.h
cvs rdiff -r1.37 -r1.38 src/sys/arch/vax/mba/hp.c
cvs rdiff -r1.33 -r1.34 src/sys/arch/vax/mba/mba.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/vax/mba/mbavar.h
cvs rdiff -r1.21 -r1.22 src/sys/arch/vax/vax/ctu.c
cvs rdiff -r1.31 -r1.32 src/sys/arch/vax/vsa/hdc9224.c
cvs rdiff -r1.64 -r1.65 src/sys/arch/x68k/dev/fd.c
cvs rdiff -r1.22 -r1.23 src/sys/arch/xen/xen/xbd.c
cvs rdiff -r1.735 -r1.736 src/sys/conf/files
cvs rdiff -r1.31 -r1.32 src/sys/ddb/db_xxx.c
cvs rdiff -r1.105 -r1.106 src/sys/dev/ccd.c
cvs rdiff -r1.26 -r1.27 src/sys/dev/ccdvar.h
cvs rdiff -r1.29 -r1.30 src/sys/dev/cgd.c
cvs rdiff -r1.16 -r1.17 src/sys/dev/dksubr.c src/sys/dev/vndvar.h
cvs rdiff -r1.7 -r1.8 src/sys/dev/dkvar.h
cvs rdiff -r1.15 -r1.16 src/sys/dev/fss.c
cvs rdiff -r1.9 -r1.10 src/sys/dev/fssvar.h src/sys/dev/ldvar.h
cvs rdiff -r1.37 -r1.38 src/sys/dev/ld.c
cvs rdiff -r1.41 -r1.42 src/sys/dev/md.c
cvs rdiff -r1.122 -r1.123 src/sys/dev/vnd.c
cvs rdiff -r1.311 -r1.312 src/sys/dev/ata/wd.c
cvs rdiff -r1.30 -r1.31 src/sys/dev/ata/wdvar.h
cvs rdiff -r1.8 -r1.9 src/sys/dev/dkwedge/dk.c
cvs rdiff -r1.4 -r1.5 src/sys/dev/gpib/ct.c
cvs rdiff -r1.3 -r1.4 src/sys/dev/gpib/mt.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/gpib/rd.c
cvs rdiff -r1.49 -r1.50 src/sys/dev/ic/rrunner.c
cvs rdiff -r1.9 -r1.10 src/sys/dev/ic/rrunnervar.h
cvs rdiff -r1.59 -r1.60 src/sys/dev/isa/fd.c
cvs rdiff -r1.1 -r1.2 src/sys/dev/isa/fdvar.h
cvs rdiff -r1.90 -r1.91 src/sys/dev/isa/mcd.c
cvs rdiff -r1.29 -r1.30 src/sys/dev/mca/ed_mca.c
cvs rdiff -r1.30 -r1.31 src/sys/dev/mca/edc_mca.c
cvs rdiff -r1.9 -r1.10 src/sys/dev/mca/edvar.h
cvs rdiff -r1.47 -r1.48 src/sys/dev/mscp/mscp_disk.c
cvs rdiff -r1.28 -r1.29 src/sys/dev/mscp/mscp_subr.c
cvs rdiff -r1.12 -r1.13 src/sys/dev/mscp/mscpvar.h
cvs rdiff -r1.8 -r1.9 src/sys/dev/qbus/rf.c
cvs rdiff -r1.25 -r1.26 src/sys/dev/qbus/rl.c
cvs rdiff -r1.4 -r1.5 src/sys/dev/qbus/rlvar.h
cvs rdiff -r1.13 -r1.14 src/sys/dev/qbus/ts.c
cvs rdiff -r1.190 -r1.191 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -r1.227 -r1.228 src/sys/dev/scsipi/cd.c
cvs rdiff -r1.24 -r1.25 src/sys/dev/scsipi/cdvar.h
cvs rdiff -r1.240 -r1.241 src/sys/dev/scsipi/sd.c
cvs rdiff -r1.26 -r1.27 src/sys/dev/scsipi/sdvar.h
cvs rdiff -r1.61 -r1.62 src/sys/dev/scsipi/ss.c
cvs rdiff -r1.30 -r1.31 src/sys/dev/scsipi/ss_mustek.c
cvs rdiff -r1.42 -r1.43 src/sys/dev/scsipi/ss_scanjet.c
cvs rdiff -r1.15 -r1.16 src/sys/dev/scsipi/ssvar.h
cvs rdiff -r1.184 -r1.185 src/sys/dev/scsipi/st.c
cvs rdiff -r1.14 -r1.15 src/sys/dev/scsipi/stvar.h
cvs rdiff -r1.57 -r1.58 src/sys/dev/vme/xd.c
cvs rdiff -r1.8 -r1.9 src/sys/dev/vme/xdvar.h
cvs rdiff -r1.59 -r1.60 src/sys/dev/vme/xy.c
cvs rdiff -r1.9 -r1.10 src/sys/dev/vme/xyvar.h
cvs rdiff -r1.3 -r1.4 src/sys/kern/bufq_disksort.c src/sys/kern/bufq_fcfs.c \
cvs rdiff -r1.4 -r1.5 src/sys/kern/bufq_priocscan.c
cvs rdiff -r0 -r1.1 src/sys/kern/subr_bufq.c
cvs rdiff -r1.70 -r1.71 src/sys/kern/subr_disk.c
cvs rdiff -r1.3 -r1.4 src/sys/sys/bufq.h
cvs rdiff -r0 -r1.1 src/sys/sys/bufq_impl.h
cvs rdiff -r1.69 -r1.70 src/sys/ufs/mfs/mfs_vfsops.c
cvs rdiff -r1.39 -r1.40 src/sys/ufs/mfs/mfs_vnops.c
cvs rdiff -r1.15 -r1.16 src/sys/ufs/mfs/mfsnode.h
cvs rdiff -r1.95 -r1.96 src/sys/uvm/uvm_swap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.