Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2000 22:11:14 -0800 (PST)
From:      Greg Lehey <grog@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/vinum vinumio.c
Message-ID:  <200002290611.WAA16198@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
grog        2000/02/28 22:11:14 PST

  Modified files:
    sys/dev/vinum        vinumio.c 
  Log:
  open_drive: open drives directly rather than going via namei and
  vn_open.  This is necessary in order to be able to open drives before
  the root file system is mounted.  This also involves restructuring the
  drive struct, which no longer contains a vnode pointer.  Instead,
  open_drive sets an open flag.  It's a horrible kludge, and I'll gladly
  borrow a Danish axe and hack it in little pieces when devfs comes.
  
  read_drive, write_drive, drive_io_done: Replace with driveio.  The
  function names are now macros.
  
  driveio: Fix horrible, embarrassing breakage which was the reason why
  read_drive and write_drive existed in the first place.
  
  Code-torn-to-shreds-by:  dillon
  
  format_config: Don't save config of objects in referenced state.  They
  get rebuilt automatically.
  
  Change checks for striped or RAID-5 plexes to a macro 'isstriped',
  which now also includes RAID-4.
  
  Change checks for RAID-5 plexes to a macro 'isparity', which now also
  includes RAID-4.
  
  Replace the preprocessor variable names BDEV_MAJOR and CDEV_MAJOR with
  VINUM_BDEV_MAJOR and VINUM_CDEV_MAJOR respectively.
  
  vinum_scandisk: Don't free memory twice on error, once is enough.
  
  Approved-by:  jkh
  
  Revision  Changes    Path
  1.51      +127 -199  src/sys/dev/vinum/vinumio.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?200002290611.WAA16198>