From 0090b6f6f6cfd65fcacfa4dda23bee2cec11cb70 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Tue, 29 Mar 2022 22:04:45 -0600 Subject: [PATCH] LU-15692 lmv: change default hash back to fnv_1a_64 Until performance issue is resolved, change the default directory hash type from 'crush' back to 'fnv_1a_64'. Fixes: bb60caa1c6e7 ("LU-14459 lmv: change default hash type to crush") Signed-off-by: Andreas Dilger Change-Id: If2cef70298773f42dc1c62809eea98519b3ebbe5 Reviewed-on: https://review.whamcloud.com/46950 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Lai Siyao Reviewed-by: Shuichi Ihara Reviewed-by: Oleg Drokin --- lustre/include/uapi/linux/lustre/lustre_user.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/include/uapi/linux/lustre/lustre_user.h b/lustre/include/uapi/linux/lustre/lustre_user.h index ba5e276..98507e0 100644 --- a/lustre/include/uapi/linux/lustre/lustre_user.h +++ b/lustre/include/uapi/linux/lustre/lustre_user.h @@ -1010,7 +1010,7 @@ static __attribute__((unused)) const char *mdt_hash_name[] = { "crush", }; -#define LMV_HASH_TYPE_DEFAULT LMV_HASH_TYPE_CRUSH +#define LMV_HASH_TYPE_DEFAULT LMV_HASH_TYPE_FNV_1A_64 /* Right now only the lower part(0-16bits) of lmv_hash_type is being used, * and the higher part will be the flag to indicate the status of object, -- 1.8.3.1