diff options
author | Steven Hartland <smh@FreeBSD.org> | 2015-01-18 23:15:49 +0000 |
---|---|---|
committer | Steven Hartland <smh@FreeBSD.org> | 2015-01-18 23:15:49 +0000 |
commit | 5eab7e540605a77b6d141deee5fbaf56291be23a (patch) | |
tree | f8f7e00ce7bd470c3fb3b130c942a90eb81f1d2f /contrib/libxo/tests/core/saved/test_07.JP.out | |
parent | e1600e5058c4e733743f7e0a4610816d1c6bd3d5 (diff) | |
download | src-5eab7e540605a77b6d141deee5fbaf56291be23a.tar.gz src-5eab7e540605a77b6d141deee5fbaf56291be23a.zip |
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
Notes
Notes:
svn path=/head/; revision=277351
Diffstat (limited to 'contrib/libxo/tests/core/saved/test_07.JP.out')
0 files changed, 0 insertions, 0 deletions