Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zdb: Fix false leak report for BRT objects #15882

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Conversation

Bi11
Copy link
Contributor

@Bi11 Bi11 commented Feb 11, 2024

Fix a misreport in 'zdb -d' where it falsely marked BRT objects as leaked.

Motivation and Context

zdb -d incorrectly reported BRT objects as leaked.

Description

Add references to BRT objects as with DDT objects.

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)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

Fix a misreport in 'zdb -d' where it falsely marked
BRT objects as leaked.

Signed-off-by: Yuxin Wang <[email protected]>
Copy link
Member

@amotin amotin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to have sense.

@behlendorf behlendorf merged commit a0635ae into openzfs:master Feb 13, 2024
24 of 25 checks passed
tonyhutter pushed a commit that referenced this pull request Feb 22, 2024
Fix a misreport in 'zdb -d' where it falsely marked
BRT objects as leaked.

Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Yuxin Wang <[email protected]>
Closes #15882
lundman pushed a commit to openzfsonwindows/openzfs that referenced this pull request Mar 13, 2024
Fix a misreport in 'zdb -d' where it falsely marked
BRT objects as leaked.

Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Yuxin Wang <[email protected]>
Closes openzfs#15882
lundman pushed a commit to openzfsonwindows/openzfs that referenced this pull request Mar 13, 2024
Fix a misreport in 'zdb -d' where it falsely marked
BRT objects as leaked.

Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Yuxin Wang <[email protected]>
Closes openzfs#15882
lundman pushed a commit to openzfsonwindows/openzfs that referenced this pull request Mar 13, 2024
Fix a misreport in 'zdb -d' where it falsely marked
BRT objects as leaked.

Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Yuxin Wang <[email protected]>
Closes openzfs#15882
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants