mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-08 08:58:50 +03:00
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.
This commit is contained in:
parent
e01fddc578
commit
83261b79b5
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user