diff options
author | David Teigland <teigland@redhat.com> | 2019-08-01 15:07:59 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2019-08-16 13:26:12 -0500 |
commit | 83261b79b578f213127af6350c555ec347b7211a (patch) | |
tree | 8c095de27f4904062a4a3177178d1cad02e824db | |
parent | e01fddc5789b10d1bd15e8aee8985f14e81d3087 (diff) | |
download | lvm2-83261b79b578f213127af6350c555ec347b7211a.tar.gz |
pvscan cache: use lvmcache_label_scan
instead of the lower level label_scan. The lvmcache wrapper
around label_scan checks for and eliminates more duplicate devs
and md components.
-rw-r--r-- | tools/pvscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pvscan.c b/tools/pvscan.c index 168d50914..ac4150059 100644 --- a/tools/pvscan.c +++ b/tools/pvscan.c @@ -759,7 +759,7 @@ static void _online_pvscan_all_devs(struct cmd_context *cmd, dm_list_init(&all_vgs); - label_scan(cmd); + lvmcache_label_scan(cmd); if (!(iter = dev_iter_create(cmd->filter, 1))) { log_error("dev_iter creation failed"); |