From 2b395053355290ed18be03fd3af920b56b23d653 Mon Sep 17 00:00:00 2001 From: Uri Lublin <uril@redhat.com> Date: Mon, 30 Mar 2009 23:15:45 +0300 Subject: [PATCH 04/12] Revert "info blockstats: show highest_allocated if exists (Uri Lublin)" This reverts commit ca17466ae425fcd4884d033261a888726f2b8a6a. Was not accepted upstream. Using an alternative solution with watermark and asynchronous notification. Signed-off-by: Uri Lublin <uril@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Bugzilla: 489964 RH-Upstream-status: not-applicable Acked-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Dor Laor <dlaor@redhat.com> --- qemu/block.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/qemu/block.c b/qemu/block.c index 7f24866..a4b3b2c 100644 --- a/qemu/block.c +++ b/qemu/block.c @@ -1164,7 +1164,6 @@ void bdrv_info(void) void bdrv_info_stats (void) { BlockDriverState *bs; - BlockDriverInfo bdi; for (bs = bdrv_first; bs != NULL; bs = bs->next) { term_printf ("%s:" @@ -1172,14 +1171,10 @@ void bdrv_info_stats (void) " wr_bytes=%" PRIu64 " rd_operations=%" PRIu64 " wr_operations=%" PRIu64 - , + "\n", bs->device_name, bs->rd_bytes, bs->wr_bytes, bs->rd_ops, bs->wr_ops); - if (bdrv_get_info(bs, &bdi) == 0) - term_printf(" high=%" PRIu64, - bdi.highest_alloc); - term_printf("\n"); } } -- 1.6.1