Re: [Fwd: Re: Patch for inconsistent recording of block device statistics]

From: Jens Axboe
Date: Mon Oct 31 2005 - 14:07:43 EST


On Tue, Oct 25 2005, Mark Seger wrote:
> yes, the patch worked. The general discussion was that the byte counter
> gets incremented when requests are queued, not when they're acted upon
> as is the case with the count of I/Os. As a result, the disk write
> numbers don't make any sense reporting impossibly high numbers (>100MB
> and as high as 450!) during some times and at other reporting zeros.
> The entire time, the I/O counts are happily showing what appear to be
> correct numbers. Here's a snapshot taken during a portion of a 2GB file
> file to /tmp.

I've applied my path to the for-linus git branch, I will push it for
2.6.15 as well. Thanks for reminding me!

--
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/