]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/spa.c
Illumos 4970-4974 - extreme rewind enhancements
authorMatthew Ahrens <mahrens@delphix.com>
Tue, 15 Jul 2014 18:58:41 +0000 (10:58 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 26 Aug 2014 23:29:57 +0000 (16:29 -0700)
commitdea377c0d9d92bd7d10c0e2f006efa11ab28060a
treeb8ef6185688103208cd903b7739a80073a35bce7
parent49ddb315066e372f31bda29a5c546a9eccc8b418
Illumos 4970-4974 - extreme rewind enhancements

4970 need controls on i/o issued by zpool import -XF
4971 zpool import -T should accept hex values
4972 zpool import -T implies extreme rewind, and thus a scrub
4973 spa_load_retry retries the same txg
4974 spa_load_verify() reads all data twice
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>

References:
  https://www.illumos.org/issues/4970
  https://www.illumos.org/issues/4971
  https://www.illumos.org/issues/4972
  https://www.illumos.org/issues/4973
  https://www.illumos.org/issues/4974
  https://github.com/illumos/illumos-gate/commit/e42d205

Notes:
    This set of patches adds a set of tunable parameters for the
    "extreme rewind" mode of pool import which allows control over
    the traversal performed during such an import.

Ported by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2598
cmd/zpool/zpool_main.c
man/man5/zfs-module-parameters.5
module/zfs/spa.c