summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorjwpoduska <[email protected]>2019-11-27 13:15:01 -0500
committerBrian Behlendorf <[email protected]>2019-11-27 10:15:01 -0800
commit3c819a2c7da4560abb75b9dbf9a314ceafddaf86 (patch)
tree665a9607adfe647d0336e7b9499c97da2d2d1dbf /contrib
parent894f6696b4cf7cc2562da159ba5e6e8c806f35de (diff)
Prevent unnecessary resilver restarts
If a device is participating in an active resilver, then it will have a non-empty DTL. Operations like vdev_{open,reopen,probe}() can cause the resilver to be restarted (or deferred to be restarted later), which is unnecessary if the DTL is still covered by the current scan range. This is similar to the logic in vdev_dtl_should_excise() where the DTL can only be excised if it's max txg is in the resilvered range. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: John Gallagher <[email protected]> Reviewed-by: Kjeld Schouten <[email protected]> Signed-off-by: John Poduska <[email protected]> Issue #840 Closes #9155 Closes #9378 Closes #9551 Closes #9588
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions