1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

import_vsn1: increate hash size

With larger amount of LV hashing buckets within VG,
until better structures for dynamic handling of LV elements will be used.
This commit is contained in:
Zdenek Kabelac 2024-10-09 17:13:56 +02:00 committed by David Teigland
parent 53d5e2e602
commit 00a8946e46

View File

@ -1085,7 +1085,7 @@ static struct volume_group *_read_vg(struct cmd_context *cmd,
* The lv hash memorizes the lv section names -> lv
* structures.
*/
if (!(lv_hash = dm_hash_create(1023))) {
if (!(lv_hash = dm_hash_create(8181))) {
log_error("Couldn't create lv hash table.");
goto bad;
}