lkml.org 
[lkml]   [2000]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Fix disk statistic reporting to include all disks
On Wed, Aug 30 2000, Marcel J.E. Mol wrote:
> > .....
> > do {
> > q = blk_get_queue(bh->b_rdev);
> > if (!q) {
> > ... no such device ..
> > }
> > + statistics(q, rw, bh->b_size);
> > } while (q->make_request_fn(q, rw, bh)));
> > ...
>
> Does this setup also allow to maintain time statistics, like the times between
> make_request_time, io_start_time and io_end_time so things like queuetime
> and io servicetime can be determined?

Not right now, because with this setup we are accounting buffers and not
the requests themselves. If you want that you should look at Stephen's sard
patches.

--
* Jens Axboe <axboe@suse.de>
* SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.080 / U:10.300 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site