From f83ffd0288ddb6de8e5d1631ae619fd385e6d400 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sat, 27 Sep 2014 09:30:56 -0600 Subject: [PATCH] Move murmur3 hash to crc/ Signed-off-by: Jens Axboe --- Makefile | 4 ++-- {lib => crc}/murmur3.c | 0 {lib => crc}/murmur3.h | 0 crc/test.c | 2 +- lib/bloom.c | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename {lib => crc}/murmur3.c (100%) rename {lib => crc}/murmur3.h (100%) diff --git a/Makefile b/Makefile index d7cc1d4c..b02bb138 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ SOURCE := gettime.c ioengines.c init.c stat.c log.c time.c filesetup.c \ lib/lfsr.c gettime-thread.c helpers.c lib/flist_sort.c \ lib/hweight.c lib/getrusage.c idletime.c td_error.c \ profiles/tiobench.c profiles/act.c io_u_queue.c filelock.c \ - lib/tp.c lib/bloom.c lib/murmur3.c + lib/tp.c lib/bloom.c ifdef CONFIG_LIBHDFS HDFSFLAGS= -I $(JAVA_HOME)/include -I $(JAVA_HOME)/include/linux -I $(FIO_LIBHDFS_INCLUDE) @@ -192,7 +192,7 @@ endif ifeq ($(CONFIG_TARGET_OS), Linux) T_DEDUPE_OBJS = t/dedupe.o T_DEDUPE_OBJS += lib/rbtree.o t/log.o mutex.o smalloc.o gettime.o crc/md5.o \ - memalign.o lib/bloom.o t/debug.o crc/xxhash.o + memalign.o lib/bloom.o t/debug.o crc/xxhash.o crc/murmur3.o T_DEDUPE_PROGS = t/dedupe endif diff --git a/lib/murmur3.c b/crc/murmur3.c similarity index 100% rename from lib/murmur3.c rename to crc/murmur3.c diff --git a/lib/murmur3.h b/crc/murmur3.h similarity index 100% rename from lib/murmur3.h rename to crc/murmur3.h diff --git a/crc/test.c b/crc/test.c index b2708a84..39ffac0b 100644 --- a/crc/test.c +++ b/crc/test.c @@ -17,7 +17,7 @@ #include "../crc/sha256.h" #include "../crc/sha512.h" #include "../crc/xxhash.h" -#include "../lib/murmur3.h" +#include "../crc/murmur3.h" #include "../hash.h" #include "test.h" diff --git a/lib/bloom.c b/lib/bloom.c index eb6deebe..8059a65b 100644 --- a/lib/bloom.c +++ b/lib/bloom.c @@ -5,7 +5,7 @@ #include "../hash.h" #include "../minmax.h" #include "../crc/xxhash.h" -#include "../lib/murmur3.h" +#include "../crc/murmur3.h" struct bloom { uint64_t nentries; -- 2.25.1