Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2007 21:30:48 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs vdev.c
Message-ID:  <200711052130.lA5LUm2N033302@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2007-11-05 21:30:48 UTC

  FreeBSD src repository

  Modified files:
    sys/contrib/opensolaris/uts/common/fs/zfs vdev.c 
  Log:
  If setting a state to anything but open state, close access to vdev.
  This fixes replacing drive in place, eg. zpool replace tank da1 da1.
  Before it complained that device is already open.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.4       +11 -0     src/sys/contrib/opensolaris/uts/common/fs/zfs/vdev.c



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