zfs/tests/zfs-tests/include
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
..
.gitignore Add zpool events tests 2017-05-22 12:34:42 -04:00
Makefile.am Fix "file is executable, but no shebang" warnings 2018-05-07 17:19:57 -07:00
commands.cfg Fix mmap / libaio deadlock 2018-05-07 17:19:57 -07:00
default.cfg.in Emit history events for 'zpool create' 2017-12-04 17:21:03 -08:00
libtest.shlib Add pool state /proc entry, "SUSPENDED" pools 2018-07-06 02:46:51 -07:00
math.shlib Fix truncate(2) mtime and ctime handling 2017-11-21 13:11:29 -06: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-05-07 17:19:57 -07:00