Re: [PATCH] Update disk statistics for cciss and cpqarray devices

From: Jens Axboe
Date: Mon Nov 13 2006 - 05:46:39 EST


On Mon, Nov 13 2006, Petr Tesa?ík wrote:
> The request functions for cciss and cpqarray drivers do not update
> statistics upon request completion. This would normally be done in
> end_that_request_first(), but this function is not used by these
> drivers, so the number of sectors read/written (as reported
> in /proc/diskstat and consequently also by utilities like iostat) is
> always zero.
>
> The following patch adds correct statistics for both drivers.

A similar patch was already posted last week and is pending inclusion.

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/