mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
pvscan: remove fixme comment that is fixed
Remove the fixme comment describing the case that was
fixed by aa75b31db5
"pvscan: handle case of scanning PV without metadata last"
This commit is contained in:
parent
c3e385c108
commit
6d0f09f478
@ -1062,18 +1062,6 @@ int pvscan_cache_cmd(struct cmd_context *cmd, int argc, char **argv)
|
||||
cmd->pvscan_recreate_hints = 1;
|
||||
pvscan_recreate_hints_begin(cmd);
|
||||
|
||||
/*
|
||||
* FIXME: if _online_pvscan_all_devs scans a PV without
|
||||
* metadata as the final PV to complete the VG, then
|
||||
* that VG is not added to the complete_vgnames list.
|
||||
* To fix this, we could also keep an incomplete_vg list,
|
||||
* and each incomplete_vg entry would list the PVIDs it
|
||||
* still needed. If a PV without metadata is scanned,
|
||||
* its PVID would be removed from the incomplete_vg entry,
|
||||
* and if the entry had no remaining PVs needed, the vgname
|
||||
* would be added to complete_vgnames.
|
||||
*/
|
||||
|
||||
log_verbose("pvscan all devices for requested refresh.");
|
||||
_online_files_remove(_pvs_online_dir);
|
||||
_online_files_remove(_vgs_online_dir);
|
||||
|
Loading…
Reference in New Issue
Block a user