diff options
-rw-r--r-- | exception_lists/check_rtime | 1 | ||||
-rw-r--r-- | usr/src/uts/common/fs/zfs/arc.c | 12 |
2 files changed, 1 insertions, 12 deletions
diff --git a/exception_lists/check_rtime b/exception_lists/check_rtime index 8028288ad9..c8978075d4 100644 --- a/exception_lists/check_rtime +++ b/exception_lists/check_rtime @@ -138,6 +138,7 @@ UNUSED_RPATH /usr/gnu/lib.*\ from\ .*/usr/lib/64/libpython2\.. UNUSED_RPATH /usr/gnu/lib.*\ from\ .*/usr/lib/64/libpython3\.. UNUSED_RPATH /usr/snadm/lib.*\ from\ .*/usr/snadm/lib/libspmicommon\.so\.1 UNUSED_RPATH /usr/gcc/.*/lib.*\ from\ .* +UNUSED_RPATH /usr/gnu/lib.*\ from\ .*libncurses\.so\.5 # Unused runpaths for reasons not captured above UNUSED_RPATH /usr/lib/smbsrv.*\ from\ .*libsmb\.so\.1 # future needs diff --git a/usr/src/uts/common/fs/zfs/arc.c b/usr/src/uts/common/fs/zfs/arc.c index db64ef9a70..12b5872cdc 100644 --- a/usr/src/uts/common/fs/zfs/arc.c +++ b/usr/src/uts/common/fs/zfs/arc.c @@ -8589,12 +8589,6 @@ l2arc_write_buffers(spa_t *spa, l2arc_dev_t *dev, uint64_t target_sz) continue; } - /* - * We rely on the L1 portion of the header below, so - * it's invalid for this header to have been evicted out - * of the ghost cache, prior to being written out. The - * ARC_FLAG_L2_WRITING bit ensures this won't happen. - */ ASSERT(HDR_HAS_L1HDR(hdr)); ASSERT3U(HDR_GET_PSIZE(hdr), >, 0); @@ -8618,12 +8612,6 @@ l2arc_write_buffers(spa_t *spa, l2arc_dev_t *dev, uint64_t target_sz) * ARC_FLAG_L2_WRITING bit ensures this won't happen. */ arc_hdr_set_flags(hdr, ARC_FLAG_L2_WRITING); - ASSERT(HDR_HAS_L1HDR(hdr)); - - ASSERT3U(HDR_GET_PSIZE(hdr), >, 0); - ASSERT(hdr->b_l1hdr.b_pabd != NULL || - HDR_HAS_RABD(hdr)); - ASSERT3U(arc_hdr_size(hdr), >, 0); /* * If this header has b_rabd, we can use this since it |