2007-05-03 17:57:01

by Martin Peschke

[permalink] [raw]
Subject: [RFC] [Patch 2/3] readahead statistics slimmed down, adapt zfcp

This patch adapts zfcp to the counter changes in lib/statistics.c.

Signed-off-by: Martin Peschke <[email protected]>
---

zfcp_ccw.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux/drivers/s390/scsi/zfcp_ccw.c
===================================================================
--- linux.orig/drivers/s390/scsi/zfcp_ccw.c
+++ linux/drivers/s390/scsi/zfcp_ccw.c
@@ -137,7 +137,7 @@ static struct statistic_info zfcp_statin
.name = "qdio_outb_full",
.x_unit = "sbals_left",
.y_unit = "",
- .defaults = "type=counter_inc"
+ .defaults = "type=counter"
},
[ZFCP_STAT_A_QO] = {
.name = "qdio_outb",
@@ -155,7 +155,7 @@ static struct statistic_info zfcp_statin
.name = "erp",
.x_unit = "",
.y_unit = "",
- .defaults = "type=counter_inc"
+ .defaults = "type=counter"
}
};




2007-05-04 10:06:49

by Swen Schillig

[permalink] [raw]
Subject: Re: [RFC] [Patch 2/3] readahead statistics slimmed down, adapt zfcp

ACK

On Thursday 03 May 2007 19:56, Martin Peschke wrote:
> This patch adapts zfcp to the counter changes in lib/statistics.c.
>
> Signed-off-by: Martin Peschke <[email protected]>
> ---
>
> zfcp_ccw.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Index: linux/drivers/s390/scsi/zfcp_ccw.c
> ===================================================================
> --- linux.orig/drivers/s390/scsi/zfcp_ccw.c
> +++ linux/drivers/s390/scsi/zfcp_ccw.c
> @@ -137,7 +137,7 @@ static struct statistic_info zfcp_statin
> .name = "qdio_outb_full",
> .x_unit = "sbals_left",
> .y_unit = "",
> - .defaults = "type=counter_inc"
> + .defaults = "type=counter"
> },
> [ZFCP_STAT_A_QO] = {
> .name = "qdio_outb",
> @@ -155,7 +155,7 @@ static struct statistic_info zfcp_statin
> .name = "erp",
> .x_unit = "",
> .y_unit = "",
> - .defaults = "type=counter_inc"
> + .defaults = "type=counter"
> }
> };
>
>
>
>