summaryrefslogtreecommitdiffstats
path: root/module/zstd/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'module/zstd/README.md')
-rw-r--r--module/zstd/README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/module/zstd/README.md b/module/zstd/README.md
index b08a41906..f8e127736 100644
--- a/module/zstd/README.md
+++ b/module/zstd/README.md
@@ -48,6 +48,11 @@ ${zstd}/contrib/single_file_libs/combine.sh \
-r ${zstd}/lib -o module/zstd/lib/zstd.c module/zstd/zstd-in.c
~~~
+Note: if the zstd library for zfs is updated to a newer version,
+the macro list in include/zstd_compat_wrapper.h usually needs to be updated.
+this can be done with some hand crafting of the output of the following
+script: nm zstd.o | awk '{print "#define "$3 " zfs_" $3}' > macrotable
+
## Altering ZSTD and breaking changes