aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorTony Hutter <[email protected]>2019-03-14 18:21:53 -0700
committerBrian Behlendorf <[email protected]>2019-03-14 18:21:53 -0700
commit2bbec1c910a24bf61c6f41e0762e50face4b8907 (patch)
tree01cf1bd456a7d1589ece6b4600592471e0c74ad0 /config
parent04a3b0796c622201e2cde6b7288043f90da1ba33 (diff)
Make zpool status counters match error events count
The number of IO and checksum events should match the number of errors seen in zpool status. Previously there was a mismatch between the two counts because zpool status would only count unrecovered errors, while zpool events would get an event for *all* errors (recovered or not). This lead to situations where disks could be faulted for "too many errors", while at the same time showing zero errors in zpool status. This fixes the zpool status error counters to increment at the same times we post the error events. Reviewed-by: Tom Caputi <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Olaf Faaland <[email protected]> Signed-off-by: Tony Hutter <[email protected]> Closes #4851 Closes #7817
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions