cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs vdev.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Mon Nov 5 13:30:48 PST 2007
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
More information about the cvs-src
mailing list