public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch 4/8] Enhanced partition statistics: cciss fix
@ 2007-12-13 16:17 Jerome Marchand
  2007-12-13 16:55 ` Miller, Mike (OS Dev)
  0 siblings, 1 reply; 3+ messages in thread
From: Jerome Marchand @ 2007-12-13 16:17 UTC (permalink / raw)
  To: linux-kernel; +Cc: axboe, mike.miller

Updates the enhanced partition statistics in cciss driver.

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
---
 cciss.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff -urNp -X linux-2.6/Documentation/dontdiff linux-2.6.orig/drivers/block/cciss.c linux-2.6/drivers/block/cciss.c
--- linux-2.6.orig/drivers/block/cciss.c	2007-12-04 17:37:13.000000000 +0100
+++ linux-2.6/drivers/block/cciss.c	2007-12-05 13:46:29.000000000 +0100
@@ -1268,7 +1268,8 @@ static void cciss_softirq_done(struct re
 	if (blk_fs_request(rq)) {
 		const int rw = rq_data_dir(rq);
 
-		disk_stat_add(rq->rq_disk, sectors[rw], rq->nr_sectors);
+		all_stat_add(rq->rq_disk, sectors[rw],
+			     rq->nr_sectors, rq->sector);
 	}
 
 #ifdef CCISS_DEBUG


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-13 19:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-13 16:17 [Patch 4/8] Enhanced partition statistics: cciss fix Jerome Marchand
2007-12-13 16:55 ` Miller, Mike (OS Dev)
2007-12-13 18:57   ` Kiyoshi Ueda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox