From b1ec1f87a4a7df3e646a3913138cf691d5623b27 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Tue, 12 Feb 2008 13:26:53 +0000 Subject: [PATCH] Avoid automatic lvconvert polldaemon invocation when -R specified. --- WHATS_NEW | 1 + tools/lvconvert.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW b/WHATS_NEW index f8dd780c4..792905c10 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.34 - =================================== + Avoid automatic lvconvert polldaemon invocation when -R specified. (2.02.30) Fix 'pvs -a' to detect VGs of PVs without metadata areas. Divide up internal orphan volume group by format type. Update usage message for clvmd. diff --git a/tools/lvconvert.c b/tools/lvconvert.c index c39ba7d57..63fc65ce0 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -389,7 +389,7 @@ static int lvconvert_mirrors(struct cmd_context * cmd, struct logical_volume * l /* If called with no argument, try collapsing the resync layers */ if (!arg_count(cmd, mirrors_ARG) && !arg_count(cmd, mirrorlog_ARG) && - !arg_count(cmd, corelog_ARG)) { + !arg_count(cmd, corelog_ARG) && !arg_count(cmd, regionsize_ARG)) { lp->need_polling = 1; return 1; }