diff options
author | David Teigland <teigland@redhat.com> | 2018-12-07 14:35:22 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2019-01-15 10:23:47 -0600 |
commit | 6620dc9475d55207bfcd5e666f0379bcdf11831a (patch) | |
tree | a0bc324a818ff3cd99f38de51ccac3df2c5a4cc0 /tools/command.c | |
parent | 81b3b71dae7775c93adebdea60308e11057a4ee8 (diff) | |
download | lvm2-6620dc9475d55207bfcd5e666f0379bcdf11831a.tar.gz |
add device hints to reduce scanning
Save the list of PVs in /run/lvm/hints. These hints
are used to reduce scanning in a number of commands
to only the PVs on the system, or only the PVs in a
requested VG (rather than all devices on the system.)
Diffstat (limited to 'tools/command.c')
-rw-r--r-- | tools/command.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/command.c b/tools/command.c index 6931e44d4..bf2879fa3 100644 --- a/tools/command.c +++ b/tools/command.c @@ -136,6 +136,8 @@ static inline int configtype_arg(struct cmd_context *cmd __attribute__((unused)) #define DISALLOW_TAG_ARGS 0x00000800 #define GET_VGNAME_FROM_OPTIONS 0x00001000 #define CAN_USE_ONE_SCAN 0x00002000 +#define ALLOW_HINTS 0x00004000 + /* create foo_CMD enums for command def ID's in command-lines.in */ |