mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-28 03:49:38 +03:00
Fix 'zpool iostat -v' cache and log output
Fixes formatting errors from commit d6418de057
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: DHE <git@dehacked.net>
Closes #6060
This commit is contained in:
parent
e102363a66
commit
5034557bdd
@ -3611,6 +3611,7 @@ children:
|
|||||||
!cb->cb_vdev_names) {
|
!cb->cb_vdev_names) {
|
||||||
print_iostat_dashes(cb, 0, "logs");
|
print_iostat_dashes(cb, 0, "logs");
|
||||||
}
|
}
|
||||||
|
printf("\n");
|
||||||
|
|
||||||
for (c = 0; c < children; c++) {
|
for (c = 0; c < children; c++) {
|
||||||
uint64_t islog = B_FALSE;
|
uint64_t islog = B_FALSE;
|
||||||
@ -3645,6 +3646,7 @@ children:
|
|||||||
!cb->cb_vdev_names) {
|
!cb->cb_vdev_names) {
|
||||||
print_iostat_dashes(cb, 0, "cache");
|
print_iostat_dashes(cb, 0, "cache");
|
||||||
}
|
}
|
||||||
|
printf("\n");
|
||||||
|
|
||||||
for (c = 0; c < children; c++) {
|
for (c = 0; c < children; c++) {
|
||||||
vname = zpool_vdev_name(g_zfs, zhp, newchild[c],
|
vname = zpool_vdev_name(g_zfs, zhp, newchild[c],
|
||||||
|
Loading…
Reference in New Issue
Block a user