From f0f10be67e9e12309c8adafc1085b94785c195bd Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Mon, 26 Feb 2024 13:15:21 -0700 Subject: [PATCH] LU-8130 obd: remove limit on client mounts Using the in-kernel rhashtable instead of cfs_hash_table for obd->obd_uuid_hash has a side effect of limiting number of elements in the hash table and thereby limits max number of Lustre clients by 16384. The patch raises the limit to 2^31 (rhashtable default). Fixes: e40b008e88 ("LU-8130 obd: convert obd uuid hash to rhashtable") Signed-off-by: Andreas Dilger Change-Id: I222a6d0d2789ea9d1bb3530b3619d08ec83ebbe5 Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54186 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Alex Zhuravlev Reviewed-by: Li Dongyang --- lustre/obdclass/obd_config.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lustre/obdclass/obd_config.c b/lustre/obdclass/obd_config.c index 50af6ae..ec3d385 100644 --- a/lustre/obdclass/obd_config.c +++ b/lustre/obdclass/obd_config.c @@ -86,7 +86,6 @@ static const struct rhashtable_params uuid_hash_params = { .key_offset = offsetof(struct obd_export, exp_client_uuid), .head_offset = offsetof(struct obd_export, exp_uuid_hash), .obj_cmpfn = uuid_keycmp, - .max_size = MAX_OBD_DEVICES, .automatic_shrinking = true, }; -- 1.8.3.1