HomeFreeBSD

Linux 5.16: Resolve ZSTD_isError symbol collision in Linux kernel

Description

Linux 5.16: Resolve ZSTD_isError symbol collision in Linux kernel

Newer zstd code introduced in the main kernel tree now creates a symbol
collision with ZSTD_isError in our ZSTD code. This change relabels our
implementation with a ZFS-specific symbol name, and undoes some
macro-based micro-optimizations that conflict with the attempt to rename
our internal-use version.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #12819

Details

Provenance
Coleman Kane <ckane@colemankane.org>Authored on Dec 5 2021, 8:18 PM
Tony Hutter <hutter2@llnl.gov>Committed on Dec 7 2021, 9:14 PM
Parents
rGbef7c02c8141: Linux 5.16: The blk-cgroup.h header is where struct blkcg_gq is defined
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rGb3b293c9fccd: Linux 5.16: Resolve ZSTD_isError symbol collision in Linux kernel (authored by Coleman Kane <ckane@colemankane.org>).Dec 7 2021, 9:14 PM