aboutsummaryrefslogtreecommitdiff
path: root/module/zfs/arc.c
diff options
context:
space:
mode:
authorGeorge Amanakis <gamanakis@gmail.com>2023-03-28 23:51:58 +0000
committerGitHub <noreply@github.com>2023-03-28 23:51:58 +0000
commit431083f75bdd3efaee992bdd672625ec7240d252 (patch)
tree9795844e36c83621d347ab2d930676b32ab7022e /module/zfs/arc.c
parent65d10bd87c408bfa13fa27bb6ad3ecc0e2e3775b (diff)
downloadsrc-431083f75bdd3efaee992bdd672625ec7240d252.tar.gz
src-431083f75bdd3efaee992bdd672625ec7240d252.zip
Diffstat (limited to 'module/zfs/arc.c')
-rw-r--r--module/zfs/arc.c7
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);