mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
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
This commit is contained in:
committed by
Brian Behlendorf
parent
49ddb31506
commit
dea377c0d9
@@ -230,6 +230,52 @@ they operate close to quota or capacity limits.
|
||||
Default value: 24
|
||||
.RE
|
||||
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
\fBspa_load_verify_data\fR (int)
|
||||
.ad
|
||||
.RS 12n
|
||||
Whether to traverse data blocks during an "extreme rewind" (\fB-X\fR)
|
||||
import. Use 0 to disable and 1 to enable.
|
||||
|
||||
An extreme rewind import normally performs a full traversal of all
|
||||
blocks in the pool for verification. If this parameter is set to 0,
|
||||
the traversal skips non-metadata blocks. It can be toggled once the
|
||||
import has started to stop or start the traversal of non-metadata blocks.
|
||||
.sp
|
||||
Default value: 1
|
||||
.RE
|
||||
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
\fBspa_load_verify_metadata\fR (int)
|
||||
.ad
|
||||
.RS 12n
|
||||
Whether to traverse blocks during an "extreme rewind" (\fB-X\fR)
|
||||
pool import. Use 0 to disable and 1 to enable.
|
||||
|
||||
An extreme rewind import normally performs a full traversal of all
|
||||
blocks in the pool for verification. If this parameter is set to 1,
|
||||
the traversal is not performed. It can be toggled once the import has
|
||||
started to stop or start the traversal.
|
||||
.sp
|
||||
Default value: 1
|
||||
.RE
|
||||
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
\fBspa_load_verify_maxinflight\fR (int)
|
||||
.ad
|
||||
.RS 12n
|
||||
Maximum concurrent I/Os during the traversal performed during an "extreme
|
||||
rewind" (\fB-X\fR) pool import.
|
||||
.sp
|
||||
Default value: 10000
|
||||
.RE
|
||||
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
|
||||
Reference in New Issue
Block a user