From: Jerome Marchand <jmarchan@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: axboe@kernel.dk, mike.miller@hp.com
Subject: [Patch 4/8] Enhanced partition statistics: cciss fix
Date: Thu, 13 Dec 2007 17:17:50 +0100 [thread overview]
Message-ID: <47615B2E.1040608@redhat.com> (raw)
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
next reply other threads:[~2007-12-13 16:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-13 16:17 Jerome Marchand [this message]
2007-12-13 16:55 ` [Patch 4/8] Enhanced partition statistics: cciss fix Miller, Mike (OS Dev)
2007-12-13 18:57 ` Kiyoshi Ueda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47615B2E.1040608@redhat.com \
--to=jmarchan@redhat.com \
--cc=axboe@kernel.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=mike.miller@hp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.