Move range_tree, btree, highbit64 to common code#18133
Merged
behlendorf merged 1 commit intoopenzfs:masterfrom Feb 22, 2026
Merged
Move range_tree, btree, highbit64 to common code#18133behlendorf merged 1 commit intoopenzfs:masterfrom
behlendorf merged 1 commit intoopenzfs:masterfrom
Conversation
14 tasks
Contributor
Author
|
Note - I kept |
4c51583 to
1f5d7ef
Compare
behlendorf
reviewed
Jan 14, 2026
1f5d7ef to
9839709
Compare
Break out the range_tree, btree, and highbit64/lowbit64 code from kernel space into shared kernel and userspace code. This is needed for the updated `zpool status -vv` error byte range reporting that will be coming in a future commit. That commit needs the range_tree code in kernel and userspace. Signed-off-by: Tony Hutter <hutter2@llnl.gov>
9839709 to
1969d6b
Compare
Contributor
Author
|
I think this is ready for review |
robn
approved these changes
Feb 16, 2026
Member
robn
left a comment
There was a problem hiding this comment.
Works for me!
(incidentally, I've a bunch of stuff in-flight around linkages, symbol visibility, common code, etc, so I will likely end up shuffling this a bit along with a ton of other stuff when I get back to it. Nothing here changes anything for me there, and hopefully next time this sort of thing will be a lot easier).
behlendorf
approved these changes
Feb 22, 2026
14 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Break out range_tree/btree/highbit64/lowbit64 code for #17864
Description
Break out the range_tree, btree, and highbit64/lowbit64 code from kernel space into shared kernel and userspace code. This is needed for the updated
zpool status -vverror byte range reporting that will be coming in a future commit. That commit needs the range_tree code in kernel and userspace.How Has This Been Tested?
Test built
Types of changes
Checklist:
Signed-off-by.