Steven Hartland 5eab7e5406 Clean ZFS spa config before syncing
A number of entries that can be present in the spa config shouldn't be saved
to disk so add a method to ensure this is case. Without this if the last
caller to vdev_config_generate requested stats then we can end up in the
cache file.

Also only skip a none writable pool in the cache file generation if its
active. This prevents unavailable pools incorrectly getting removed from
cache file.

Tested by:	delphij
MFC after:	2 weeks
Sponsored by:	Multiplay
2015-01-18 23:15:49 +00:00
..
2015-01-18 23:15:49 +00:00
2014-10-12 18:01:52 +00:00
2014-09-25 19:10:32 +00:00
2014-12-27 07:07:37 +00:00
2015-01-18 03:43:47 +00:00
2014-09-23 06:32:19 +00:00