mirror_zfs/module/zcommon
Pavel Zakharov 8a393be353 OpenZFS 9235 - rename zpool_rewind_policy_t to zpool_load_policy_t
We want to be able to pass various settings during import/open of a
pool, which are not only related to rewind. Instead of adding a new
policy and duplicate a bunch of code, we should just rename
rewind_policy to a more generic term like load_policy.

For instance, we'd like to set spa->spa_import_flags from the nvlist,
rather from a flags parameter passed to spa_import as in some cases we
want those flags not only for the import case, but also for the open
case. One such flag could be ZFS_IMPORT_MISSING_LOG (as used in zdb)
which would allow zfs to open a pool when logs are missing.

Authored by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: Matt Ahrens <matt@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>

OpenZFS-issue: https://illumos.org/issues/9235
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/d2b1e44
Closes #7532
2018-06-04 14:54:20 -07:00
..
Makefile.in OpenZFS 7431 - ZFS Channel Programs 2018-02-08 15:28:18 -08:00
zfeature_common.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zfs_comutil.c OpenZFS 9235 - rename zpool_rewind_policy_t to zpool_load_policy_t 2018-06-04 14:54:20 -07:00
zfs_deleg.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zfs_fletcher_aarch64_neon.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zfs_fletcher_avx512.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zfs_fletcher_intel.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zfs_fletcher_sse.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zfs_fletcher_superscalar4.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zfs_fletcher_superscalar.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zfs_fletcher.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zfs_namecheck.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zfs_prop.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zfs_uio.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zpool_prop.c Update build system and packaging 2018-05-29 16:00:33 -07:00
zprop_common.c Update build system and packaging 2018-05-29 16:00:33 -07:00