lkml.org 
[lkml]   [2007]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: [Patch 4/8] Enhanced partition statistics: cciss fix
>
> 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);
> }

How does this mesh with the changes submitted by Kiyoshi Ueda? Any conflicts?

-- mikem


\
 
 \ /
  Last update: 2007-12-13 18:21    [W:0.042 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site