From owner-cvs-all  Mon Feb 28 22:11:19 2000
Delivered-To: cvs-all@freebsd.org
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP
	id 1EF9C37B564; Mon, 28 Feb 2000 22:11:15 -0800 (PST)
	(envelope-from grog@FreeBSD.org)
Received: (from grog@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id WAA16198;
	Mon, 28 Feb 2000 22:11:14 -0800 (PST)
	(envelope-from grog@FreeBSD.org)
Message-Id: <200002290611.WAA16198@freefall.freebsd.org>
From: Greg Lehey <grog@FreeBSD.org>
Date: Mon, 28 Feb 2000 22:11:14 -0800 (PST)
To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: src/sys/dev/vinum vinumio.c
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk

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