-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
zfs: make it compatible with bcachefs #243075
Conversation
#define kmem_cache_destroy(skc) spl_kmem_cache_destroy(skc) | ||
+ | ||
+/* This is necessary to be compatible with bcachefs for example. */ | ||
+#undef kmem_cache_alloc |
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.
upstream?
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.
I will upstream it yes
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.
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.
This is upstreamed in 2.1.13 and 2.2.x.
I can report that I have now ZFS and bcachefs on the same machine, it's bliss. |
3fc5fdf
to
2cd9db1
Compare
Due to the existence of `kmem_cache_alloc` in bcachefs codebase, you need to undefine the symbol to make it usable by the ZFS module.
2cd9db1
to
728684c
Compare
Closing, this is already upstream now I believe. |
Description of changes
Due to the existence of
kmem_cache_alloc
in bcachefs codebase, you need to undefine the symbol to make it usable by the ZFS module.I will test this on myself first, tested with
pkgs.linuxPackages_testing_bcachefs.zfs
.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)