Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2003 12:34:23 -0800 (PST)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/geom geom_disk.c src/sys/sys disk.h
Message-ID:  <200301302034.h0UKYN2i069664@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2003/01/30 12:34:23 PST

  Modified files:
    sys/geom             geom_disk.c 
    sys/sys              disk.h 
  Log:
  Add some agility to the disk_create() API:
  
  Make passing the methods in a cdevsw structure optional.
  
  Move "CANFREE" and "NOGIANT" flags into struct disk instead of the
  cdevsw which may or may not be there.
  
  Rename CANFREE to CANDELETE to match BIO_DELETE operation.
  
  Add "OPEN" flag so drivers don't have to provide open/close methods
  just to maintain such a flag.
  
  Add temporary stopgap include of <sys/conf.h> to <sys/disk.h> until
  the files which have them in the other order are fixed.
  
  Add KASSERTS to make sure we don't get fed too many NULL pointers.
  
  Clear our geom's softc pointer before we wither.
  
  Revision  Changes    Path
  1.41      +48 -24    src/sys/geom/geom_disk.c
  1.31      +15 -1     src/sys/sys/disk.h

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?200301302034.h0UKYN2i069664>