Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 1999 16:04:15 -0800 (PST)
From:      Kenneth Merry <ken@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/share/man/man9 devstat.9 src/sys/cam/scsi scsi_cd.c scsi_ch.c scsi_da.c scsi_pass.c scsi_pt.c scsi_sa.c src/sys/dev/ccd ccd.c src/sys/i386/isa atapi-cd.c fd.c wd.c wfd.c src/sys/kern subr_devstat.c src/sys/pc98/pc98 fd.c wd.c ...
Message-ID:  <199902100004.QAA79789@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ken         1999/02/09 16:04:14 PST

  Modified files:
    share/man/man9       devstat.9 
    sys/cam/scsi         scsi_cd.c scsi_ch.c scsi_da.c scsi_pass.c 
                         scsi_pt.c scsi_sa.c 
    sys/dev/ccd          ccd.c 
    sys/i386/isa         atapi-cd.c fd.c wd.c wfd.c 
    sys/kern             subr_devstat.c 
    sys/pc98/pc98        fd.c wd.c 
    sys/sys              devicestat.h 
    usr.bin/vmstat       vmstat.c 
  Log:
  Add a prioritization field to the devstat_add_entry() call so that
  peripheral drivers can determine where in the devstat(9) list they are
  inserted.
  
  This requires recompilation of libdevstat, systat, vmstat, rpc.rstatd, and
  any ports that depend on the devstat code, since the size of the devstat
  structure has changed.  The devstat version number has been incremented as
  well to reflect the change.
  
  This sorts devices in the devstat list in "more interesting" to "less
  interesting" order.  So, for instance, da devices are now more important
  than floppy drives, and so will appear before floppy drives in the default
  output from systat, iostat, vmstat, etc.
  
  The order of devices is, for now, kept in a central table in devicestat.h.
  If individual drivers were able to make a meaningful decision on what
  priority they should be at attach time, we could consider splitting the
  priority information out into the various drivers.  For now, though, they
  have no way of knowing that, so it's easier to put them in an easy to find
  table.
  
  Also, move the checkversion() call in vmstat(8) to a more logical place.
  
  Thanks to Bruce and David O'Brien for suggestions, for reviewing this, and
  for putting up with the long time it has taken me to commit it.  Bruce did
  object somewhat to the central priority table (he would rather the
  priorities be distributed in each driver), so his objection is duly noted
  here.
  
  Reviewed by:	bde, obrien
  
  Revision  Changes    Path
  1.2       +39 -3     src/share/man/man9/devstat.9
  1.15      +4 -3      src/sys/cam/scsi/scsi_cd.c
  1.10      +4 -3      src/sys/cam/scsi/scsi_ch.c
  1.20      +3 -2      src/sys/cam/scsi/scsi_da.c
  1.6       +4 -3      src/sys/cam/scsi/scsi_pass.c
  1.5       +3 -2      src/sys/cam/scsi/scsi_pt.c
  1.19      +3 -2      src/sys/cam/scsi/scsi_sa.c
  1.40      +3 -2      src/sys/dev/ccd/ccd.c
  1.11      +5 -3      src/sys/i386/isa/atapi-cd.c
  1.133     +3 -2      src/sys/i386/isa/fd.c
  1.188     +4 -2      src/sys/i386/isa/wd.c
  1.19      +3 -2      src/sys/i386/isa/wfd.c
  1.9       +59 -5     src/sys/kern/subr_devstat.c
  1.52      +3 -2      src/sys/pc98/pc98/fd.c
  1.74      +4 -2      src/sys/pc98/pc98/wd.c
  1.4       +22 -4     src/sys/sys/devicestat.h
  1.30      +10 -9     src/usr.bin/vmstat/vmstat.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902100004.QAA79789>