Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented zpool scrub pause/resume #6167

Merged
merged 1 commit into from
Jul 7, 2017
Merged

Commits on Jul 3, 2017

  1. Implemented zpool scrub pause/resume

    Currently, there is no way to pause a scrub. Pausing may
    be useful when the pool is busy with other I/O to preserve
    bandwidth.
    
    This patch adds the ability to pause and resume scrubbing.
    This is achieved by maintaining a persistent on-disk scrub state.
    While the state is 'paused' we do not scrub any more blocks.
    We do however perform regular scan housekeeping such as
    freeing async destroyed and deadlist blocks while paused.
    
    Signed-off-by: Alek Pinchuk <apinchuk@datto.com>
    alek-p committed Jul 3, 2017
    Configuration menu
    Copy the full SHA
    388a9ab View commit details
    Browse the repository at this point in the history