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

Add blkptr command to sdb #320

Merged
merged 1 commit into from
Mar 28, 2023
Merged

Add blkptr command to sdb #320

merged 1 commit into from
Mar 28, 2023

Conversation

grwilson
Copy link
Contributor

= Problem

This leverages the original work by @PaulZ-98 from PR #281. This add the blkptr command to sdb .

= Solution

I tried to structure the code so that it is similar to the C code so that it's easier to enhance in the future. All of the BP_* macros that are used by ZFS were also added to make future enhancements easier.

@grwilson grwilson force-pushed the blkptr branch 3 times, most recently from 18b0c6e to 5ab8937 Compare March 21, 2023 13:50
@sdimitro
Copy link
Contributor

sdimitro commented Mar 21, 2023

@grwilson I'm still in the middle of writing the Dev Resources for how to generate the test output so I just quickly generated it for you in this commit:
b911036

In the above commit I also fixed a bug where you don't have the load_on global in your blkptr command - this is needed due to Paul D's recent changes. Also 2 of Paul Z's tests are no longer applicable so I removed them.

Finally can you please rebase your PR over the latest 6.0/stage branch?

@grwilson grwilson merged commit 01017b0 into delphix:6.0/stage Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants