zfs/tests/zfs-tests/include
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
..
.gitignore Add zpool events tests 2017-05-22 12:34:42 -04:00
Makefile.am Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
blkdev.shlib Add pool state /proc entry, "SUSPENDED" pools 2018-06-06 09:33:54 -07:00
commands.cfg Profiling for perf tests 2018-05-22 10:51:46 -07:00
default.cfg.in Emit history events for 'zpool create' 2017-10-23 09:45:59 -07:00
libtest.shlib OpenZFS 9245 - zfs-test failures: slog_013_pos and slog_014_pos 2018-06-04 14:55:02 -07:00
math.shlib Fix dbufstats_001_pos 2018-03-07 09:53:04 -08:00
properties.shlib Disable nbmand tests on kernels w/o support 2017-07-24 11:03:50 -07:00
zpool_script.shlib Clean up (k)shlib and cfg file shebangs 2018-04-08 19:37:22 -07:00