HomeFreeBSD

Print "(repairing)" in zpool status again

Description

Print "(repairing)" in zpool status again

Historically, zpool status prints "(repairing)" for any drives that
have errors during a scrub:

        NAME            STATE     READ WRITE CKSUM
        mypool          ONLINE       0     0     0
          mirror-0      ONLINE       0     0     0
            /tmp/file1  ONLINE      13     0     0  (repairing)
            /tmp/file2  ONLINE       0     0     0
            /tmp/file3  ONLINE       0     0     0

This was accidentally broken in "OpenZFS 9166 - zfs storage pool
checkpoint" (d2734cc). This patch adds it back in.

Reviewed-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #7779
Closes #7978

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Oct 10 2018, 3:30 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 10 2018, 3:30 AM
Parents
rG0391690583a8: Refactor dmu_recv into its own file
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG2ef0f8c3298e: Print "(repairing)" in zpool status again (authored by Tony Hutter <hutter2@llnl.gov>).Oct 10 2018, 3:30 AM