cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs vdev.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Jan 17 06:58:49 PST 2008


pjd         2008-01-17 14:58:49 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7_0)
    sys/contrib/opensolaris/uts/common/fs/zfs vdev.c 
  Log:
  MFC:    sys/contrib/opensolaris/uts/common/fs/zfs/vdev.c        1.4
  
  Close access to vdev when setting state to anything but open state.
  This fixes replacing drive in place, eg. zpool replace tank da1 da1.
  Before the fix, it complained that device is already open.
  
  Obtained from:  OpenSolaris
  Approved by:    re (gnn)
  
  Revision  Changes    Path
  1.3.4.1   +11 -0     src/sys/contrib/opensolaris/uts/common/fs/zfs/vdev.c


More information about the cvs-src mailing list