summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2020-09-25 12:29:10 -0500
committerDavid Teigland <teigland@redhat.com>2020-09-28 13:25:57 -0500
commitdf6f16c081ffca48f2c812e539851995b7563b68 (patch)
tree237b5b98027ebfc679889155947050855e02be1d
parentda14cf68cb62e1bf2e9718358158dde48a1acd20 (diff)
downloadlvm2-df6f16c081ffca48f2c812e539851995b7563b68.tar.gz
lvpoll: don't use hints
There's a bug when lvpoll attempts to write new hints, related to the fact that lvpoll does not follow the same scanning process as standard commands. Fix by disabling the use of hints in lvpoll. We may want to renable hints in lvpoll in a way that they can be used, if valid, but not updated if they don't exist or are invalid.
-rw-r--r--tools/commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/commands.h b/tools/commands.h
index c1670ae66..ae1bf3934 100644
--- a/tools/commands.h
+++ b/tools/commands.h
@@ -137,7 +137,7 @@ xx(pvmove,
xx(lvpoll,
"Continue already initiated poll operation on a logical volume",
- ALLOW_HINTS)
+ 0)
xx(pvremove,
"Remove LVM label(s) from physical volume(s)",