Repository navigation
Add support for FreeBSD - #8987
Conversation
673caef to
d51c99b
Compare
| uint_t abd_nents; | ||
| struct scatterlist *abd_sgl; | ||
| #endif | ||
| } abd_scatter; |
There was a problem hiding this comment.
I do wonder if #if linux around the scatterlist wouldn't be easier, or it'll be
#if ( defined(__FreeBSD__) || defined(__APPLE__) || defined(_WIN32)) && defined(_KERNEL)
But don't change anything, just curious what people think, is reducing #ifdefs even on the agenda just yet? I'm probably here waaay too early
There was a problem hiding this comment.
@lundman your timing is perfect! Reducing the #ifdefs is definitely on the agenda as is any additional refactoring we should be considering to make things easier when adding additional platforms.
d51c99b to
e0f971d
Compare
9e6ea37 to
4df3869
Compare
This brings us up to date with the code currently in review in: openzfs/zfs#8987 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@506233 35697150-7ecd-e111-bb59-0022644237b5
This brings us up to date with the code currently in review in: openzfs/zfs#8987
d63de7c to
ff98df6
Compare
This brings us up to date with the code currently in review in: openzfs/zfs#8987 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@506233 35697150-7ecd-e111-bb59-0022644237b5
e6ea76b to
137b90d
Compare
|
NB, when building packages, such as rpm, the build system looks for shebang in files to generate the package dependencies. Thus you will need to ensure the dependency on python3 in packages remains. |
7db8ab1 to
774a635
Compare
9b19313 to
4e4e10c
Compare
914cfb4 to
0b4ee27
Compare
1e0a9ce to
04be8b3
Compare
323f22a to
30e03ce
Compare
3a00066 to
2d0ea9b
Compare
|
I think maybe |
|
We can probably close #898 once this is merged. |
Codecov Report
@@ Coverage Diff @@
## master #8987 +/- ##
==========================================
- Coverage 79.48% 79.30% -0.19%
==========================================
Files 387 388 +1
Lines 123388 123386 -2
==========================================
- Hits 98079 97855 -224
- Misses 25309 25531 +222
Continue to review full report at Codecov.
|
- Import FreeBSD specific parts Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Co-authored-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Requires-builders: arch,style,coverage,amazon2,centos7,debian10,ubuntu16,ubuntu18,builtin,freebsd12,freebsd13
Motivation and Context
This adds support for FreeBSD to ZoL. Adding FreeBSD support to ZoL will make it easier to move changes back and forth between FreeBSD and Linux.
Description
How Has This Been Tested?
Adapted ZTS and have all tests that pass on HEAD passing on ZoF. Allan Jude and some developers have been using it personally.
Types of changes
Checklist:
Signed-off-by.