diff options
author | George Wilson <George.Wilson@Sun.COM> | 2009-05-22 10:51:13 -0700 |
---|---|---|
committer | George Wilson <George.Wilson@Sun.COM> | 2009-05-22 10:51:13 -0700 |
commit | e6ca193ded880d478cc39e34ef82d4be36e4445d (patch) | |
tree | 020c59d5c1dadc0eb1cca8b4d4b06f4df26deae2 /usr/src/lib/libzfs/common/libzfs_pool.c | |
parent | 77e3ef6dda6a42e4efc4aacc846034440e7bb6ab (diff) | |
download | illumos-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.c | 6 |
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)); } |