]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - sys/dev/scd/scd.c
MFV r302645: 6878 Add scrub completion info to "zpool history"
authorAndriy Gapon <avg@FreeBSD.org>
Thu, 14 Jul 2016 11:53:39 +0000 (11:53 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Thu, 14 Jul 2016 11:53:39 +0000 (11:53 +0000)
commit70e3da3892735446104365ffbc513855d2c7bf29
tree926d64af527b05fc5b8288249d74cd02e6e5bed2
parent39a6b174914cabe494bdad132de3ad0fc3808f1c
parent16af19f6c39794f96f75e147a9dd780d22b8a749
MFV r302645: 6878 Add scrub completion info to "zpool history"

illumos/illumos-gate@1825bc56e5a1f7ef6f0dc3137f3b35f5850c1100
https://github.com/illumos/illumos-gate/commit/1825bc56e5a1f7ef6f0dc3137f3b35f5850c1100

https://www.illumos.org/issues/6878
  Summary of changes:
      * Replace generic "scan done" message with "scan aborted, restarting",
        "scan cancelled", or "scan done"
      * Log number of errors using spa_get_errlog_size
      * Refactor scan restarting check into static function

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Nav Ravindranath <nav@delphix.com>
MFC after: 2 weeks
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c