diff options
author | David Teigland <teigland@redhat.com> | 2018-07-10 13:39:29 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2018-07-11 11:26:42 -0500 |
commit | 117160b27e510dceb1ed6acf995115c040acd88d (patch) | |
tree | ae459f189f4202cb78ef3c9f8196a559b2398801 /tools/commands.h | |
parent | edf3f86184a380994e383b9884364e702e4ac647 (diff) | |
download | lvm2-117160b27e510dceb1ed6acf995115c040acd88d.tar.gz |
Remove lvmetad
Native disk scanning is now both reduced and
async/parallel, which makes it comparable in
performance (and often faster) when compared
to lvm using lvmetad.
Autoactivation now uses local temp files to record
online PVs, and no longer requires lvmetad.
There should be no apparent command-level change
in behavior.
Diffstat (limited to 'tools/commands.h')
-rw-r--r-- | tools/commands.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/commands.h b/tools/commands.h index 4af92c87f..ef5763bd5 100644 --- a/tools/commands.h +++ b/tools/commands.h @@ -103,7 +103,7 @@ xx(lvs, xx(lvscan, "List all logical volumes in all volume groups", - PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | LOCKD_VG_SH | NO_LVMETAD_AUTOSCAN) + PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | LOCKD_VG_SH) xx(pvchange, "Change attributes of physical volume(s)", @@ -149,7 +149,7 @@ xx(pvs, xx(pvscan, "List all physical volumes", - PERMITTED_READ_ONLY | LOCKD_VG_SH | NO_LVMETAD_AUTOSCAN | IGNORE_PERSISTENT_FILTER) + PERMITTED_READ_ONLY | LOCKD_VG_SH | IGNORE_PERSISTENT_FILTER) xx(segtypes, "List available segment types", @@ -201,11 +201,10 @@ xx(vgextend, xx(vgimport, "Register exported volume group with system", - ALL_VGS_IS_DEFAULT | NO_LVMETAD_AUTOSCAN) + ALL_VGS_IS_DEFAULT) xx(vgimportclone, - "Import a VG from cloned PVs", - NO_LVMETAD_AUTOSCAN) + "Import a VG from cloned PVs", 0) xx(vgmerge, "Merge volume groups", @@ -233,7 +232,7 @@ xx(vgs, xx(vgscan, "Search for all volume groups", - PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | LOCKD_VG_SH | NO_LVMETAD_AUTOSCAN | IGNORE_PERSISTENT_FILTER) + PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | LOCKD_VG_SH | IGNORE_PERSISTENT_FILTER) xx(vgsplit, "Move physical volumes into a new or existing volume group", |