mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Update simple lvm2app unit test for new size apis.
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
This commit is contained in:
parent
629efc6a89
commit
5ffe56d800
@ -1,5 +1,7 @@
|
||||
Version 2.02.61 -
|
||||
===================================
|
||||
Add lvm2app exports lvm_pv_get_size(), lvm_pv_get_free(), and lvm_pv_get_dev_size().
|
||||
Fix off by 512 sizes for lvm2app.
|
||||
Add 'fail_if_percent_unsupported' arg to _percent() and _percent_run().
|
||||
Remove false "failed to find tree node for" error when activating merging origin.
|
||||
Make lvconvert --repair --use-policies exit with success when no action is needed.
|
||||
|
@ -450,8 +450,11 @@ static void _pvs_in_vg(char **argv, int argc)
|
||||
}
|
||||
printf("PVs in VG %s:\n", lvm_vg_get_name(vg));
|
||||
dm_list_iterate_items(pvl, pvs) {
|
||||
printf("%s (%s): mda_count=%"PRIu64"\n",
|
||||
lvm_pv_get_name(pvl->pv), lvm_pv_get_uuid(pvl->pv),
|
||||
printf("%s (%s): size=%"PRIu64", free=%"PRIu64
|
||||
", dev_size=%"PRIu64", mda_count=%"PRIu64"\n",
|
||||
lvm_pv_get_name(pvl->pv), lvm_pv_get_uuid(pvl->pv),
|
||||
lvm_pv_get_size(pvl->pv), lvm_pv_get_free(pvl->pv),
|
||||
lvm_pv_get_dev_size(pvl->pv),
|
||||
lvm_pv_get_mda_count(pvl->pv));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user