summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2014-04-04 01:41:06 +0100
committerAlasdair G Kergon <agk@redhat.com>2014-04-04 01:41:06 +0100
commitd36f721bb984c16bd20733325be0d9fc73706709 (patch)
treef07a347a6d6f435f27281eb84147fb7d26e34706
parent3f0f5587864e8bb0457089d1cca50b2231b421de (diff)
downloadlvm2-d36f721bb984c16bd20733325be0d9fc73706709.tar.gz
reports: FIXME for unnecessary cache wipes.
-rw-r--r--tools/reporter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/reporter.c b/tools/reporter.c
index e070bc232..2591fd5b2 100644
--- a/tools/reporter.c
+++ b/tools/reporter.c
@@ -271,6 +271,9 @@ static int _report(struct cmd_context *cmd, int argc, char **argv,
report_type == LABEL ||
report_type == PVSEGS) ? 1 : 0;
+ /*
+ * FIXME Trigger scans based on unrecognised listed devices instead.
+ */
if (args_are_pvs && argc)
cmd->filter->wipe(cmd->filter);