summaryrefslogtreecommitdiff
path: root/tools/commands.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2019-11-26 12:01:24 -0600
committerDavid Teigland <teigland@redhat.com>2019-11-26 16:52:28 -0600
commita61272a6f048e56ea75e34ad190af10ff9773c8c (patch)
tree726795d96f489e74b842eba51b53cc39150b0336 /tools/commands.h
parent0c1316cda876849d5d1375d40e8cdc08db37c2b5 (diff)
downloadlvm2-a61272a6f048e56ea75e34ad190af10ff9773c8c.tar.gz
Revert "lvs: disable scanning optimization"
This reverts commit 7474440d3b540d20eb4f997efeb31b881cc6ac8e. lvs can use the scanning optimization again since it has been changed in: "scanning: optimize by checking text offset and checksum"
Diffstat (limited to 'tools/commands.h')
-rw-r--r--tools/commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/commands.h b/tools/commands.h
index 77cf1fac9..c1670ae66 100644
--- a/tools/commands.h
+++ b/tools/commands.h
@@ -99,7 +99,7 @@ xx(lvresize,
xx(lvs,
"Display information about logical volumes",
- PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | LOCKD_VG_SH | ALLOW_HINTS)
+ PERMITTED_READ_ONLY | ALL_VGS_IS_DEFAULT | LOCKD_VG_SH | CAN_USE_ONE_SCAN | ALLOW_HINTS)
xx(lvscan,
"List all logical volumes in all volume groups",