Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2001 12:23:16 -0700 (PDT)
From:      Dima Dorfman <dd@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys mdioctl.h src/sys/dev/md md.c src/sbin/mdconfig mdconfig.8 mdconfig.c
Message-ID:  <200108071923.f77JNG627986@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dd          2001/08/07 12:23:16 PDT

  Modified files:
    sys/sys              mdioctl.h 
    sys/dev/md           md.c 
    sbin/mdconfig        mdconfig.8 mdconfig.c 
  Log:
  Introduce a force option, MD_FORCE, that instructs the driver to
  bypass some extra anti-foot-shooting measures.  Currently, its only
  effect is to allow detaching a device while it's still open (e.g.,
  mounted).  This is useful for testing how the system reacts to a disk
  suddenly going away, which can happen with some removeable media.
  
  At this point, the force option is only checked on detach, so it
  would've been possible to allow the option to be passed with the
  MDIOCDETACH operation.  This was not done to allow the possibility of
  having the force flag influence other tests in the future, which may
  not necessarily deal with detaching the device.
  
  Reviewed by:	sobomax
  Approved by:	phk
  
  Revision  Changes    Path
  1.9       +2 -1      src/sys/sys/mdioctl.h
  1.41      +6 -3      src/sys/dev/md/md.c
  1.12      +6 -1      src/sbin/mdconfig/mdconfig.8
  1.17      +5 -1      src/sbin/mdconfig/mdconfig.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?200108071923.f77JNG627986>