mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix truncated total size displayed by pvscan.
This commit is contained in:
parent
0b0caec5f6
commit
1641fdf90c
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.65 -
|
Version 2.02.65 -
|
||||||
=================================
|
=================================
|
||||||
|
Fix truncated total size displayed by pvscan.
|
||||||
Add new --sysinit option for vgchange and lvchange.
|
Add new --sysinit option for vgchange and lvchange.
|
||||||
Suppress duplicate error messages about read failures and missing devices.
|
Suppress duplicate error messages about read failures and missing devices.
|
||||||
Install plugins to $(libdir)/device-mapper and $(libdir)/lvm2.
|
Install plugins to $(libdir)/device-mapper and $(libdir)/lvm2.
|
||||||
|
@ -166,7 +166,7 @@ int pvscan(struct cmd_context *cmd, int argc __attribute((unused)),
|
|||||||
size_new += pv_size(pv);
|
size_new += pv_size(pv);
|
||||||
size_total += pv_size(pv);
|
size_total += pv_size(pv);
|
||||||
} else
|
} else
|
||||||
size_total += pv_pe_count(pv) * pv_pe_size(pv);
|
size_total += (uint64_t) pv_pe_count(pv) * pv_pe_size(pv);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* find maximum pv name length */
|
/* find maximum pv name length */
|
||||||
|
Loading…
Reference in New Issue
Block a user