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

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Jan 16 23:49:17 PST 2008


pjd         2008-01-17 07:49:16 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/contrib/opensolaris/uts/common/fs/zfs vdev.c 
  Log:
  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.2.1   +11 -0     src/sys/contrib/opensolaris/uts/common/fs/zfs/vdev.c


More information about the cvs-src mailing list