SVNews r332550

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-04-16 04:14:03 - r332550 by mav (Alexander Motin)

Complete list of files affected by revision r332550:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/11  
  History   Contents   Diff   MODIFY   /stable/11/cddl/contrib/opensolaris/cmd/zdb/zdb.c  
  History   Contents   Diff   MODIFY   /stable/11/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c  
  History   Contents   Diff   MODIFY   /stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h  
  History   Contents   Diff   MODIFY   /stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c  
  History   Contents   Diff   MODIFY   /stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c  
  History   Contents   Diff   MODIFY   /stable/11/sys/cddl/contrib/opensolaris/common/zfs/zfs_comutil.c  
  History   Contents   Diff   MODIFY   /stable/11/sys/cddl/contrib/opensolaris/common/zfs/zfs_comutil.h  
  History   Contents   Diff   MODIFY   /stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c  
  History   Contents   Diff   MODIFY   /stable/11/sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h  

Commit message:

MFC r331707: 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>

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 18 ms, 10 files printed. Current time is 2018-04-23 15:16:54. All times are in UTC/GMT.