]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - contrib/unbound/libunbound/python/doc/examples/example1b.rst
MFV r331706:
authorAlexander Motin <mav@FreeBSD.org>
Wed, 28 Mar 2018 22:29:06 +0000 (22:29 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Wed, 28 Mar 2018 22:29:06 +0000 (22:29 +0000)
commit5c4561f33215d982a12e3f3f594b73db0101553e
treebba1061621f06d4baf1faa9b31bf50d5dc0e1e97
parent6cc8a8260fa707c3dd0d3153d71f3e49fa19d1eb
parentd32e3273d252390ab3fa47c220b78c17a797e9e2
MFV r331706:
9235 rename zpool_rewind_policy_t to zpool_load_policy_t

illumos/illumos-gate@5dafeea3ebd2dd77affc802bcb90f63faf01589f

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.

Reviewed by: Matt Ahrens <matt@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Pavel Zakharov <pavel.zakharov@delphix.com>
cddl/contrib/opensolaris/cmd/zdb/zdb.c
cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c
sys/cddl/contrib/opensolaris/common/zfs/zfs_comutil.c
sys/cddl/contrib/opensolaris/common/zfs/zfs_comutil.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c
sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h