diff options
author | Don Brady <[email protected]> | 2021-02-19 23:33:15 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-02-19 22:33:15 -0800 |
commit | 03e02e5b561f7f60597dd905414eb476610740cc (patch) | |
tree | dc4d06386835440de73b526086ff797f025b08fa /module/zfs/vdev_rebuild.c | |
parent | e7adccf7f537a4d07281a2b74b360154bae367bc (diff) |
Checksum errors may not be counted
Fix regression seen in issue #11545 where checksum errors
where not being counted or showing up in a zpool event.
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Don Brady <[email protected]>
Closes #11609
Diffstat (limited to 'module/zfs/vdev_rebuild.c')
-rw-r--r-- | module/zfs/vdev_rebuild.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/zfs/vdev_rebuild.c b/module/zfs/vdev_rebuild.c index 784d1af15..037abc01f 100644 --- a/module/zfs/vdev_rebuild.c +++ b/module/zfs/vdev_rebuild.c @@ -338,6 +338,9 @@ vdev_rebuild_complete_sync(void *arg, dmu_tx_t *tx) } cv_broadcast(&vd->vdev_rebuild_cv); + + /* Clear recent error events (i.e. duplicate events tracking) */ + zfs_ereport_clear(spa, NULL); } /* |