git: 503769f2a7f6 - main - Fix missed assertion update in physical rewrite patch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Aug 2025 20:05:28 UTC
The branch main has been updated by mav:
URL: https://cgit.FreeBSD.org/src/commit/?id=503769f2a7f665c7b9d59020e94064ee8c5365a1
commit 503769f2a7f665c7b9d59020e94064ee8c5365a1
Author: Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2025-08-13 20:01:44 +0000
Commit: Alexander Motin <mav@FreeBSD.org>
CommitDate: 2025-08-13 20:05:06 +0000
Fix missed assertion update in physical rewrite patch
Physical rewrite patch changed the meaning of BP_GET_BIRTH(), but
I missed update one of its occurences, ending up asserting equal
logical birth times instead of equal physical birth times.
PR: 288722
---
sys/contrib/openzfs/module/zfs/dsl_deadlist.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/contrib/openzfs/module/zfs/dsl_deadlist.c b/sys/contrib/openzfs/module/zfs/dsl_deadlist.c
index 475db3c89508..41ac72bf1c16 100644
--- a/sys/contrib/openzfs/module/zfs/dsl_deadlist.c
+++ b/sys/contrib/openzfs/module/zfs/dsl_deadlist.c
@@ -1049,7 +1049,8 @@ dsl_livelist_iterate(void *arg, const blkptr_t *bp, boolean_t bp_freed,
ASSERT3U(BP_GET_PSIZE(bp), ==, BP_GET_PSIZE(&found->le_bp));
ASSERT3U(BP_GET_CHECKSUM(bp), ==,
BP_GET_CHECKSUM(&found->le_bp));
- ASSERT3U(BP_GET_BIRTH(bp), ==, BP_GET_BIRTH(&found->le_bp));
+ ASSERT3U(BP_GET_PHYSICAL_BIRTH(bp), ==,
+ BP_GET_PHYSICAL_BIRTH(&found->le_bp));
}
if (bp_freed) {
if (found == NULL) {