From 20e317cf92d0760c8e1052dc975a14645aecfd84 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 27 Aug 2015 17:19:09 +0200 Subject: [PATCH] lvcreate: restore missed --monitor Fix regression from d13239b0547e09def4b58b0f49bd0252f459d431. This patch reorganized whole command option parsing, however it has lost support to accept --monitor arg. --- WHATS_NEW | 1 + tools/lvcreate.c | 1 + 2 files changed, 2 insertions(+) diff --git a/WHATS_NEW b/WHATS_NEW index 6336f459b..887fafdde 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.130 - =================================== + Restore support for --monitor option in lvcreate (2.02.112). Read thin-pool data and metadata percent without flush. Detect blocked thin-pool and avoid scanning their thin volumes. Check if dm device is usable before checking its size (2.02.116). diff --git a/tools/lvcreate.c b/tools/lvcreate.c index 2a94f3b78..364a16ae8 100644 --- a/tools/lvcreate.c +++ b/tools/lvcreate.c @@ -700,6 +700,7 @@ static int _lvcreate_params(struct cmd_context *cmd, contiguous_ARG,\ ignoreactivationskip_ARG,\ ignoremonitoring_ARG,\ + monitor_ARG,\ mirrors_ARG,\ name_ARG,\ noudevsync_ARG,\