diff options
author | George Amanakis <gamanakis@gmail.com> | 2023-03-28 23:51:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-28 23:51:58 +0000 |
commit | 431083f75bdd3efaee992bdd672625ec7240d252 (patch) | |
tree | 9795844e36c83621d347ab2d930676b32ab7022e /module/zfs/arc.c | |
parent | 65d10bd87c408bfa13fa27bb6ad3ecc0e2e3775b (diff) | |
download | src-431083f75bdd3efaee992bdd672625ec7240d252.tar.gz src-431083f75bdd3efaee992bdd672625ec7240d252.zip |
Diffstat (limited to 'module/zfs/arc.c')
-rw-r--r-- | module/zfs/arc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c index aff438777c8c..e32707bbe5c3 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -2209,7 +2209,7 @@ arc_untransform(arc_buf_t *buf, spa_t *spa, const zbookmark_phys_t *zb, * (and generate an ereport) before leaving the ARC. */ ret = SET_ERROR(EIO); - spa_log_error(spa, zb); + spa_log_error(spa, zb, &buf->b_hdr->b_birth); (void) zfs_ereport_post(FM_EREPORT_ZFS_AUTHENTICATION, spa, NULL, zb, NULL, 0); } @@ -5540,7 +5540,8 @@ arc_read_done(zio_t *zio) ASSERT(BP_IS_PROTECTED(bp)); error = SET_ERROR(EIO); if ((zio->io_flags & ZIO_FLAG_SPECULATIVE) == 0) { - spa_log_error(zio->io_spa, &acb->acb_zb); + spa_log_error(zio->io_spa, &acb->acb_zb, + &zio->io_bp->blk_birth); (void) zfs_ereport_post( FM_EREPORT_ZFS_AUTHENTICATION, zio->io_spa, NULL, &acb->acb_zb, zio, 0); @@ -5833,7 +5834,7 @@ top: */ rc = SET_ERROR(EIO); if ((zio_flags & ZIO_FLAG_SPECULATIVE) == 0) { - spa_log_error(spa, zb); + spa_log_error(spa, zb, &hdr->b_birth); (void) zfs_ereport_post( FM_EREPORT_ZFS_AUTHENTICATION, spa, NULL, zb, NULL, 0); |