zfs/lib/libspl/include/sys
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
..
dktp Remove autotools products 2012-08-27 11:47:44 -07:00
Makefile.am Update build system and packaging 2018-05-29 16:00:33 -07:00
acl.h Add linux libspl support 2010-08-31 13:41:59 -07:00
acl_impl.h Add linux libspl support 2010-08-31 13:41:59 -07:00
bitmap.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
byteorder.h codebase style improvements for OpenZFS 6459 port 2017-01-22 13:25:40 -08:00
callb.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
cmn_err.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
cred.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
debug.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
dkio.h Fix spelling 2017-01-03 11:31:18 -06:00
dklabel.h Fix spelling 2017-01-03 11:31:18 -06:00
errno.h Fix header inclusions for standards conformance 2017-04-12 08:58:09 -07:00
feature_tests.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
file.h Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
int_limits.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
int_types.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
inttypes.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
isa_defs.h libspl: Fix incorrect use of platform defines on sparc64 2017-03-22 17:55:00 -07:00
kmem.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
kstat.h Add pool state /proc entry, "SUSPENDED" pools 2018-06-06 09:33:54 -07:00
list.h Add linux libspl support 2010-08-31 13:41:59 -07:00
list_impl.h Add linux libspl support 2010-08-31 13:41:59 -07:00
mhd.h Add linux libspl support 2010-08-31 13:41:59 -07:00
mkdev.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
mnttab.h Change /etc/mtab to /proc/self/mounts 2016-09-20 10:07:58 -07:00
mount.h Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
param.h ABD optimized page allocation code 2016-11-29 14:34:33 -08:00
policy.h Illumos 3897 - zfs filesystem and snapshot limits 2015-04-28 16:22:51 -07:00
poll.h Fix header inclusions for standards conformance 2017-04-12 08:58:09 -07:00
priv.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
processor.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
signal.h Fix header inclusions for standards conformance 2017-04-12 08:58:09 -07:00
stack.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
stat.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
stdtypes.h Update build system and packaging 2018-05-29 16:00:33 -07:00
strings.h Update build system and packaging 2018-05-29 16:00:33 -07:00
stropts.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
sunddi.h Add linux libspl support 2010-08-31 13:41:59 -07:00
sysmacros.h Update build system and packaging 2018-05-29 16:00:33 -07:00
systeminfo.h Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00
time.h OpenZFS 8585 - improve batching done in zil_commit() 2017-12-05 09:39:16 -08:00
types.h Update build system and packaging 2018-05-29 16:00:33 -07:00
types32.h Update build system and packaging 2018-05-29 16:00:33 -07:00
tzfile.h Add linux libspl support 2010-08-31 13:41:59 -07:00
uio.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
va_list.h Replace __va_list with va_list 2014-08-13 10:35:00 -07:00
varargs.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
vnode.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
vtoc.h Fix for access beyond end of device error 2010-11-10 21:29:07 -08:00
zone.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00