mirror_zfs/cmd/zpool
Tony Hutter 17cd9a8e0c 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-07-06 02:46:51 -07:00
..
zpool.d Add SMART self-test results to zpool status -c 2018-03-14 16:10:37 -07:00
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.am Add SMART self-test results to zpool status -c 2018-03-14 16:10:37 -07:00
zpool_iter.c Restrict zpool iostat/status -c to search path 2017-07-24 11:53:59 -07:00
zpool_main.c Add pool state /proc entry, "SUSPENDED" pools 2018-07-06 02:46:51 -07:00
zpool_util.c codebase style improvements for OpenZFS 6459 port 2017-01-22 13:25:40 -08:00
zpool_util.h zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
zpool_vdev.c Fix 'zpool add' handling of nested interior VDEVs 2018-01-30 10:27:31 -06:00