diff --git a/WHATS_NEW b/WHATS_NEW index f973f1176..763896eb3 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.133 - ====================================== + Fix missing in-sync progress info while lvconvert used with lvmpolld. Add report/compact_output_cols to lvm.conf to define report cols to compact. Do not change logging in lvm2 library when it's already set. Check for enough space in thin-pool in command before creating new thin. diff --git a/tools/polldaemon.c b/tools/polldaemon.c index cee1983f2..ccfaa7d71 100644 --- a/tools/polldaemon.c +++ b/tools/polldaemon.c @@ -412,7 +412,12 @@ static int report_progress(struct cmd_context *cmd, struct poll_operation_id *id if (lv && id->uuid && strcmp(id->uuid, (char *)&lv->lvid)) lv = NULL; - if (lv && parms->lv_type && !(lv->status & parms->lv_type)) + + /* + * CONVERTING is set only during mirror upconversion but we may need to + * read LV's progress info even when it's not converting (linear->mirror) + */ + if (lv && (parms->lv_type ^ CONVERTING) && !(lv->status & parms->lv_type)) lv = NULL; if (!lv) {