-
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
Refactor zvol in to platform and platform independent bits #9295
Refactor zvol in to platform and platform independent bits #9295
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.
Reviewed By: Allan Jude [email protected]
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.
Thanks for tackling this further refactoring. Before we move ahead with this I'd like to investigate using a slightly more traditional approach and have the platform specific code register callbacks with the common code. The common code would then only need to provide platform independent functionality and all the Linux/FreeBSD/MacOS/ specific code/headers could be private. I'm happy to help hash out any design details.
5091ab9
to
cf04ec0
Compare
6f6a857
to
16383cc
Compare
16383cc
to
472471a
Compare
Codecov Report
@@ Coverage Diff @@
## master #9295 +/- ##
===========================================
- Coverage 79.06% 66.68% -12.38%
===========================================
Files 401 325 -76
Lines 122495 105116 -17379
===========================================
- Hits 96846 70100 -26746
- Misses 25649 35016 +9367
Continue to review full report at Codecov.
|
@ikozhukhov @lundman would you mind looking at this proposed refactoring to see if it's flexible enough to accommodate your platforms. |
472471a
to
4051ce1
Compare
4051ce1
to
20d7ba2
Compare
Rebased and changed |
Signed-off-by: Matt Macy <[email protected]>
20d7ba2
to
0917102
Compare
|
The Amazon Linux 2 bot hit #9357 which appears to be a existing issue. Regardless, I've resubmitted that build for good measure. |
Oh I like this idea |
Biggest changes for us is that we call C++/IOkit to create/remove the device node(s), which has to be named |
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.
well, will see how to try to use/reuse it with dilos builds
thanks for update!
@lundman @ikozhukhov thanks for making the time to look this over. I'll go ahead and get this merged once the bots wrap up their testing. |
Signed-off-by: Matt Macy [email protected]
Motivation and Context
Description
How Has This Been Tested?
Types of changes
Checklist:
Signed-off-by
.