diff options
author | Eric Schrock <Eric.Schrock@Sun.COM> | 2009-10-21 16:03:06 -0700 |
---|---|---|
committer | Eric Schrock <Eric.Schrock@Sun.COM> | 2009-10-21 16:03:06 -0700 |
commit | 096d22d43da2758693a6df66ce7d9ab54c9d464c (patch) | |
tree | b8425c2c1973621ead490969138ea2a8ebc6513f /usr/src/lib/libzfs/common/libzfs.h | |
parent | 807e8f10a5bd74064a2c6ed98b73c845df2f834e (diff) | |
download | illumos-joyent-096d22d43da2758693a6df66ce7d9ab54c9d464c.tar.gz |
6893087 removing and inserting a faulted vdev clears faulted state
6893088 new ereports need to be generated when clearing a vdev
6893090 clearing a vdev should automatically detach spare
6893099 zpool_clear_label() would be useful
Diffstat (limited to 'usr/src/lib/libzfs/common/libzfs.h')
-rw-r--r-- | usr/src/lib/libzfs/common/libzfs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/lib/libzfs/common/libzfs.h b/usr/src/lib/libzfs/common/libzfs.h index 3df4e5ccaa..d4200f270e 100644 --- a/usr/src/lib/libzfs/common/libzfs.h +++ b/usr/src/lib/libzfs/common/libzfs.h @@ -581,9 +581,10 @@ extern int zpool_in_use(libzfs_handle_t *, int, pool_state_t *, char **, boolean_t *); /* - * ftyp special. Read the label from a given device. + * Label manipulation. */ extern int zpool_read_label(int, nvlist_t **); +extern int zpool_clear_label(int); /* is this zvol valid for use as a dump device? */ extern int zvol_check_dump_config(char *); |