Whamcloud - gitweb
LU-8130 obd: remove limit on client mounts
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 26 Feb 2024 20:15:21 +0000 (13:15 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 3 Mar 2024 10:25:59 +0000 (10:25 +0000)
commitf0f10be67e9e12309c8adafc1085b94785c195bd
tree680d4239479e845722c82f206206e7f111634a88
parent16d5763e30ddc2a36d278f573cf3566e1941ea95
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 <adilger@whamcloud.com>
Change-Id: I222a6d0d2789ea9d1bb3530b3619d08ec83ebbe5
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54186
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
lustre/obdclass/obd_config.c