freebsd-nq/cmd
Alexander Motin d32e3273d2 9235 rename zpool_rewind_policy_t to zpool_load_policy_t
illumos/illumos-gate@5dafeea3eb

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>
2018-03-28 22:16:51 +00:00
..
dtrace fix up r319744, add new files 2017-06-09 15:06:50 +00:00
lockstat
mdb/tools/common
plockstat
pyzfs
sgs
stat/common
zdb 9235 rename zpool_rewind_policy_t to zpool_load_policy_t 2018-03-28 22:16:51 +00:00
zfs 9213 zfs: sytem typo 2018-03-23 02:28:37 +00:00
zhack 6314 buffer overflow in dsl_dataset_name 2016-07-12 12:01:54 +00:00
zinject 6531 Provide mechanism to artificially limit disk performance 2016-03-08 16:11:59 +00:00
zlook
zpool 9235 rename zpool_rewind_policy_t to zpool_load_policy_t 2018-03-28 22:16:51 +00:00
zstreamdump 7252 7628 compressed zfs send / receive 2017-04-14 18:07:43 +00:00
ztest 9166 zfs storage pool checkpoint 2018-03-28 18:12:06 +00:00