summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjpsollie <janpieter.sollie@edpnet.be>2021-06-30 12:35:36 +0200
committerKent Overstreet <kent.overstreet@gmail.com>2021-07-07 20:30:39 -0400
commit54d44fe56bcbec3bdc3b71a9a3d43438ce13b43c (patch)
tree1aebd8d4f34487aa0398dd29540ed45beb16503c
parent8e07f30cd7229d648b591e044d7fc38b1f1e531a (diff)
add bcachefs xor / xxhash support
Following the initial xxhash / xor checksum support patches in kernel, bcachefs-tools needs some updated libraries as well. Unfortunately, xor functionality is deeply linked into several low-level functions, so we're adding a set of patches here to translate those into userspace Signed-off-by: Janpieter Sollie <janpieter.sollie@edpnet.be>
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1bc6542a..b544e81a 100644
--- a/Makefile
+++ b/Makefile
@@ -156,6 +156,10 @@ update-bcachefs-sources:
git add libbcachefs/*.[ch]
cp $(LINUX_DIR)/include/trace/events/bcachefs.h include/trace/events/
git add include/trace/events/bcachefs.h
+ cp $(LINUX_DIR)/include/linux/xxhash.h include/linux/
+ git add include/linux/xxhash.h
+ cp $(LINUX_DIR)/lib/xxhash.c linux/
+ git add linux/xxhash.c
cp $(LINUX_DIR)/kernel/locking/six.c linux/
git add linux/six.c
cp $(LINUX_DIR)/include/linux/six.h include/linux/