Skip to content

arc: add a few invariant checks in release builds of 2.4 - #18873

Open
andriytk wants to merge 1 commit into
openzfs:zfs-2.4.4-stagingfrom
andriytk:merge-arc-invariants-to-2.4
Open

arc: add a few invariant checks in release builds of 2.4#18873
andriytk wants to merge 1 commit into
openzfs:zfs-2.4.4-stagingfrom
andriytk:merge-arc-invariants-to-2.4

Conversation

@andriytk

Copy link
Copy Markdown
Contributor

Convert a couple ASSERTs invariants to VERIFYs to enforce them in release builds to be able to root-case #18782 kernel panic, whenever it happens again.

Reviewed-by: Brian Behlendorf behlendorf1@llnl.gov

Closes #18840
(cherry picked from commit 023d44b)

Motivation and Context

Description

How Has This Been Tested?

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Quality assurance (non-breaking change which makes the code more robust against bugs)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist

Convert a couple ASSERTs invariants to VERIFYs to enforce them
in release builds to be able to root-case openzfs#18782 kernel panic,
whenever it happens again.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Andriy Tkachuk <atkachuk@wasabi.com>
Closes openzfs#18840
(cherry picked from commit 023d44b)
@andriytk andriytk changed the title arc: add a few invariant checks in release builds arc: add a few invariant checks in release builds of 2.4 Jul 31, 2026
@behlendorf behlendorf added the Status: Accepted Ready to integrate (reviewed, tested) label Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Accepted Ready to integrate (reviewed, tested)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants