diff options
author | David Teigland <teigland@redhat.com> | 2019-02-06 12:32:26 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2019-06-07 15:54:04 -0500 |
commit | ab61a6d85da4e4f1d540e40ebac77999bf3c9a57 (patch) | |
tree | b11843158056ea2b617b0013aeaf8a5b06f5bc5f /lib/commands | |
parent | 45b164f62cae25da3ac4b9f0d4f87ecaee1575fa (diff) | |
download | lvm2-ab61a6d85da4e4f1d540e40ebac77999bf3c9a57.tar.gz |
move wipe_outdated_pvs to vg_write
and implement it based on a device, not based
on a pv struct (which is not available when the
device is not a part of the vg.)
currently only the vgremove command wipes outdated
pvs until more advanced recovery is added in a
subsequent commit
Diffstat (limited to 'lib/commands')
-rw-r--r-- | lib/commands/toolcontext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/commands/toolcontext.h b/lib/commands/toolcontext.h index 7d373abb3..6e4530c8a 100644 --- a/lib/commands/toolcontext.h +++ b/lib/commands/toolcontext.h @@ -179,6 +179,7 @@ struct cmd_context { unsigned use_hints:1; /* if hints are enabled this cmd can use them */ unsigned pvscan_recreate_hints:1; /* enable special case hint handling for pvscan --cache */ unsigned scan_lvs:1; + unsigned wipe_outdated_pvs:1; /* * Devices and filtering. |