LVM2/lib/report report.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: snitzer at sourceware.org 2010-01-13 01:49:22
Modified files:
lib/report : report.c
Log message:
When there is merging snapshot, report percentage on the origin LV. Because the snapshot LV will be hidden this is needed so the user can see merging progress with "lvs" command.
lib/report/report.c +1 -1
@@ -1023,7 +1023,7 @@return 0 ; } -if (!lv_is_cow (lv) || +if ((!lv_is_cow (lv) && !lv->merging_snapshot) || (lv_info (lv->vg->cmd, lv, &info,0 ,0 ) && !info.exists)) { *sortval =UINT64_C (0 );dm_report_field_set_value (field,"" , sortval);