mistifyio/go-zfs — pull request #18 by mdlayher (2014-11-13 23:27:53+00:00)
Title: Add zpool state constants, for easier health checking

Closes #14.

I'm not entirely sure about adding a `zpool.IsHealthy()` method or similar, since a zpool could technically be in a state like `DEGRADED` or `OFFLINE`, and still be "healthy", even with some functionality unavailable.

For now, I think just adding these constants is a good idea.