]> git.proxmox.com Git - mirror_zfs.git/commit
Print "(repairing)" in zpool status again
authorTony Hutter <hutter2@llnl.gov>
Wed, 10 Oct 2018 03:30:32 +0000 (20:30 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 10 Oct 2018 03:30:32 +0000 (20:30 -0700)
commit2ef0f8c3298ef02a68180fa3b16d84aa810a464a
treee2f40589b12f33c5a94ae737cdd1bc2dee32af5e
parent0391690583a8c5129477cbdac476130abe4af776
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
cmd/zpool/zpool_main.c
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_print_repairing.ksh [new file with mode: 0755]