Skip to contentSkip to conversation

readahead statistics slimmed down, adapt zfcp

RFC PATCH In review Martin Peschke 2 participants 2 messages May 3, 2007 – May 4, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

RFC PATCH 2/3 readahead statistics slimmed down, adapt zfcp

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

---

 zfcp_ccw.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/s390/scsi/zfcp_ccw.c +2 -2
Index: 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"
 	}
 };
 
#1 lore raw

ACK

Quoted 33 lines · Martin Peschke

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

---

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

Index: linux/drivers/s390/scsi/zfcp_ccw.c
===================================================================

drivers/s390/scsi/zfcp_ccw.c +2 -2
@@ -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"
 	}
 };