Whamcloud - gitweb
LU-15692 lmv: change default hash back to fnv_1a_64 50/46950/2
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 30 Mar 2022 04:04:45 +0000 (22:04 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 2 Apr 2022 06:58:17 +0000 (06:58 +0000)
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 <adilger@whamcloud.com>
Change-Id: If2cef70298773f42dc1c62809eea98519b3ebbe5
Reviewed-on: https://review.whamcloud.com/46950
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Shuichi Ihara <sihara@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_user.h

index ba5e276..98507e0 100644 (file)
@@ -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,