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

Teach zpool scrub to scrub only blocks in error log #12355

Closed
wants to merge 1 commit into from

Commits on May 16, 2023

  1. Teach zpool scrub to scrub only blocks in error log

    Added a flag '-e' in zpool scrub to scrub only blocks in error log. A
    user can pause, resume and cancel the error scrub by passing additional
    command line arguments -p -s just like a regular scrub. This involves
    adding a new flag, creating new libzfs interfaces, a new ioctl, and the
    actual iteration and read-issuing logic. Error scrubbing is executed in
    multiple txg to make sure pool performance is not affected.
    
    Co-authored-by: TulsiJain tulsi.jain@delphix.com
    Signed-off-by: George Amanakis <gamanakis@gmail.com>
    gamanakis committed May 16, 2023
    Configuration menu
    Copy the full SHA
    5255576 View commit details
    Browse the repository at this point in the history