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 -R with :b interprets 0 in offset as a flag #11110

Open
mikhailantoshkin opened this issue Oct 26, 2020 · 0 comments
Open

zdb -R with :b interprets 0 in offset as a flag #11110

mikhailantoshkin opened this issue Oct 26, 2020 · 0 comments

Comments

@mikhailantoshkin
Copy link

@mikhailantoshkin mikhailantoshkin commented Oct 26, 2020

System information

Distribution Name | Ubuntu Linux
Distribution Version | 20.04
Linux Kernel | 5.4.0-52-generic
Architecture | x86
ZFS Version | 0.8.3-1ubuntu12.4
SPL Version | 0.8.3-1ubuntu12.4

Describe the problem you're observing

When dumping blockpointer with :b flag and using offset containing 0, for example, when dumping the first blockpointer in the indirect block with zdb -R cow 0:10007a00:20000L/400P:db0 zdb will print ***Invalid flag: 0 alongside with proper blockpointer description

Reproducible with any zdb -R with :b flag containing 0 in the offset

@mikhailantoshkin mikhailantoshkin changed the title zdb -R with :b interprets 0 in offset as flag zdb -R with :b interprets 0 in offset as a flag Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.