mirror_zfs/cmd
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
..
arc_summary Handle broken pipes in arc_summary 2018-01-30 10:27:31 -06:00
arcstat Fix some typos 2018-03-14 16:10:38 -07:00
dbufstat Fix some typos 2018-03-14 16:10:38 -07:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Add MS_MANDLOCK mount failure message 2017-06-07 10:59:44 -07:00
raidz_test Add missing *_destroy/*_fini calls 2017-05-04 19:26:28 -04:00
vdev_id vdev_id: implement slot numbering by port id 2017-08-21 16:41:22 -07:00
zdb Fix zdb -ed on objset for exported pool 2018-03-14 16:10:37 -07:00
zed Allow to limit zed's syslog chattiness 2018-05-07 17:19:56 -07:00
zfs 'zfs receive' fails with "dataset is busy" 2018-03-14 16:10:37 -07:00
zgenhostid Add zgenhostid utility script 2017-07-25 13:22:03 -04:00
zhack zhack: fix getopt return type 2018-01-30 10:27:31 -06:00
zinject Inject zinject(8) a percentage amount of dev errs 2017-06-16 17:21:11 -07:00
zpios Fedora 28: Fix misc bounds check compiler warnings 2018-05-07 17:19:57 -07:00
zpool Add pool state /proc entry, "SUSPENDED" pools 2018-07-06 02:46:51 -07:00
zstreamdump Some additional send stream validity checking 2017-07-25 18:52:40 -07:00
ztest Fix ZTS MMP tests and ztest -M behavior 2017-12-18 10:14:39 -08:00
zvol_id Fedora 28: Fix misc bounds check compiler warnings 2018-05-07 17:19:57 -07:00
Makefile.am Add zgenhostid utility script 2017-07-25 13:22:03 -04:00