diff options
author | David Teigland <teigland@redhat.com> | 2019-11-26 12:01:24 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2019-11-26 16:52:28 -0600 |
commit | a61272a6f048e56ea75e34ad190af10ff9773c8c (patch) | |
tree | 726795d96f489e74b842eba51b53cc39150b0336 | |
parent | 0c1316cda876849d5d1375d40e8cdc08db37c2b5 (diff) | |
download | lvm2-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"
-rw-r--r-- | tools/commands.h | 2 |
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", |