diff options
author | mm <mm@FreeBSD.org> | 2010-09-27 09:05:51 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2010-09-27 09:05:51 +0000 |
commit | 06d7ad088338844d37a5a4328b1c4bb5de1a68a2 (patch) | |
tree | 51bc74c1fcdcb6583ce0325e215ee1938ced28f3 /cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c | |
parent | 776968f31350da9df36c96599691f3e375ccfba4 (diff) | |
download | FreeBSD-src-06d7ad088338844d37a5a4328b1c4bb5de1a68a2.zip FreeBSD-src-06d7ad088338844d37a5a4328b1c4bb5de1a68a2.tar.gz |
Enable offlining of log devices.
OpenSolaris revision and Bug IDs:
9701:cc5b64682e64
6803605 should be able to offline log devices
6726045 vdev_deflate_ratio is not set when offlining a log device
6599442 zpool import has faults in the display
Approved by: delphij (mentor)
Obtained from: OpenSolaris (Bug ID 6803605, 6726045, 6599442)
MFC after: 3 weeks
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c index 8220b3a..ddd8374 100644 --- a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c +++ b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_util.c @@ -210,6 +210,9 @@ libzfs_error_description(libzfs_handle_t *hdl) case EZFS_ACTIVE_SPARE: return (dgettext(TEXT_DOMAIN, "pool has active shared spare " "device")); + case EZFS_UNPLAYED_LOGS: + return (dgettext(TEXT_DOMAIN, "log device has unplayed intent " + "logs")); case EZFS_UNKNOWN: return (dgettext(TEXT_DOMAIN, "unknown error")); default: |