aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/zfs/arc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c
index 9c0c5513d..350aafa1f 100644
--- a/module/zfs/arc.c
+++ b/module/zfs/arc.c
@@ -6346,7 +6346,9 @@ top:
}
out:
- spa_read_history_add(spa, zb, *arc_flags);
+ /* embedded bps don't actually go to disk */
+ if (!BP_IS_EMBEDDED(bp))
+ spa_read_history_add(spa, zb, *arc_flags);
return (rc);
}