mirror_zfs/lib
Tony Hutter f0ed6c7448 Add pool state /proc entry, "SUSPENDED" pools
1. Add a proc entry to display the pool's state:

$ cat /proc/spl/kstat/zfs/tank/state
ONLINE

This is done without using the spa config locks, so it will
never hang.

2. Fix 'zpool status' and 'zpool list -o health' output to print
"SUSPENDED" instead of "ONLINE" for suspended pools.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #7331 
Closes #7563
2018-06-06 09:33:54 -07:00
..
libavl Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
libefi zpool reopen should detect expanded devices 2018-05-31 10:36:37 -07:00
libicp Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
libnvpair Update build system and packaging 2018-05-29 16:00:33 -07:00
libshare Update build system and packaging 2018-05-29 16:00:33 -07:00
libspl Add pool state /proc entry, "SUSPENDED" pools 2018-06-06 09:33:54 -07:00
libtpool Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
libunicode Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
libuutil Update build system and packaging 2018-05-29 16:00:33 -07:00
libzfs Add pool state /proc entry, "SUSPENDED" pools 2018-06-06 09:33:54 -07:00
libzfs_core Adopt pyzfs from ClusterHQ 2018-05-01 10:33:35 -07:00
libzpool OpenZFS 9075 - Improve ZFS pool import/load process and corrupted pool recovery 2018-05-08 21:35:27 -07:00
Makefile.am Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00