summaryrefslogtreecommitdiff
path: root/usr/src/lib/libzfs/common/libzfs_pool.c
diff options
context:
space:
mode:
authorGeorge Wilson <George.Wilson@Sun.COM>2009-05-22 10:51:13 -0700
committerGeorge Wilson <George.Wilson@Sun.COM>2009-05-22 10:51:13 -0700
commite6ca193ded880d478cc39e34ef82d4be36e4445d (patch)
tree020c59d5c1dadc0eb1cca8b4d4b06f4df26deae2 /usr/src/lib/libzfs/common/libzfs_pool.c
parent77e3ef6dda6a42e4efc4aacc846034440e7bb6ab (diff)
downloadillumos-joyent-e6ca193ded880d478cc39e34ef82d4be36e4445d.tar.gz
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
Diffstat (limited to 'usr/src/lib/libzfs/common/libzfs_pool.c')
-rw-r--r--usr/src/lib/libzfs/common/libzfs_pool.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/lib/libzfs/common/libzfs_pool.c b/usr/src/lib/libzfs/common/libzfs_pool.c
index 2996f834cc..1accfecdbe 100644
--- a/usr/src/lib/libzfs/common/libzfs_pool.c
+++ b/usr/src/lib/libzfs/common/libzfs_pool.c
@@ -1728,6 +1728,12 @@ zpool_vdev_offline(zpool_handle_t *zhp, const char *path, boolean_t istmp)
*/
return (zfs_error(hdl, EZFS_NOREPLICAS, msg));
+ case EEXIST:
+ /*
+ * The log device has unplayed logs
+ */
+ return (zfs_error(hdl, EZFS_UNPLAYED_LOGS, msg));
+
default:
return (zpool_standard_error(hdl, errno, msg));
}