]> sourceware.org Git - lvm2.git/commit
metadata: use lv_hash in segment-specific metadata parsing main master 1447913946
authorDavid Teigland <teigland@redhat.com>
Tue, 10 Sep 2024 16:51:15 +0000 (11:51 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 10 Sep 2024 16:51:15 +0000 (11:51 -0500)
commitf42aef47064fcc3fa8f78beea9e9b7e7c028e123
tree5053a60fff5411b217e9cf6180db5ffae0c703b0
parent1b68841605d2fbd8457acc2a51153ade3be26ae3
metadata: use lv_hash in segment-specific metadata parsing

The lv_hash wasn't being passed to the seg-specific text import
functions, so they were doing many find_lv() calls which consumes
a lot of time when there are many LVs in the metadata.
12 files changed:
lib/cache_segtype/cache.c
lib/format_text/import_vsn1.c
lib/integrity/integrity.c
lib/metadata/segtype.h
lib/mirror/mirrored.c
lib/raid/raid.c
lib/snapshot/snapshot.c
lib/striped/striped.c
lib/thin/thin.c
lib/unknown/unknown.c
lib/vdo/vdo.c
lib/writecache/writecache.c
This page took 0.051467 seconds and 5 git commands to generate.