From a61272a6f048e56ea75e34ad190af10ff9773c8c Mon Sep 17 00:00:00 2001 From: David Teigland Date: Tue, 26 Nov 2019 12:01:24 -0600 Subject: [PATCH] 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" --- tools/commands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",