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>
This commit is contained in:
jpsollie 2021-06-30 12:35:36 +02:00 committed by Kent Overstreet
parent 8e07f30cd7
commit 54d44fe56b

View File

@ -156,6 +156,10 @@ update-bcachefs-sources:
git add libbcachefs/*.[ch] git add libbcachefs/*.[ch]
cp $(LINUX_DIR)/include/trace/events/bcachefs.h include/trace/events/ cp $(LINUX_DIR)/include/trace/events/bcachefs.h include/trace/events/
git add include/trace/events/bcachefs.h 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/ cp $(LINUX_DIR)/kernel/locking/six.c linux/
git add linux/six.c git add linux/six.c
cp $(LINUX_DIR)/include/linux/six.h include/linux/ cp $(LINUX_DIR)/include/linux/six.h include/linux/