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:
parent
65ee09d840
commit
4583200af6
@ -1085,7 +1085,7 @@ static struct volume_group *_read_vg(struct cmd_context *cmd,
|
|||||||
* The lv hash memorizes the lv section names -> lv
|
* The lv hash memorizes the lv section names -> lv
|
||||||
* structures.
|
* structures.
|
||||||
*/
|
*/
|
||||||
if (!(lv_hash = dm_hash_create(1023))) {
|
if (!(lv_hash = dm_hash_create(8181))) {
|
||||||
log_error("Couldn't create lv hash table.");
|
log_error("Couldn't create lv hash table.");
|
||||||
goto bad;
|
goto bad;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user