-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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: show dedup table and log attributes #16755
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As was told in other thread, len, dspace and mspace should still better be decimal.
Ok, repushed with decimal bytes. Surprising controversy! 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes me wish we had some 32bit build target.
There's interesting info in there that is going to help with understanding dedup behaviour at any given moment. Since this is a format change, tests that rely on that output have been modified to match. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Signed-off-by: Rob Norris <[email protected]>
istg it drives me mad that user and kernel code have different ideas of what |
Is there a place where they don't mean |
Fair, my grumble was not very specific. It's more that on Linux (at least), I keep meaning to find out exactly why I suppose I have no real cause for complaint, |
There's interesting info in there that is going to help with understanding dedup behavior at any given moment. Since this is a format change, tests that rely on that output have been modified to match. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: Rob Norris <[email protected]> Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Closes openzfs#16755
[Sponsors: Klara, Inc., Wasabi Technology, Inc.]
Motivation and Context
Commenting on #16752, and realised we didn't have a way to definitely show what kind dedup options are in place.
Description
Extends
dump_ddt()
to show container config (version, flags) and log flags and other info. A bit more lowlevel detail as befits a debugger.Goes on to show the histograms and etc as it did before, so something for everyone.
How Has This Been Tested?
Just eyeballing on various test dedup configs and load generators I have lying around.
Types of changes
Checklist:
Signed-off-by
.