Re: [PATCH] Fix disk statistic reporting to include all disks

From: Jens Axboe (axboe@suse.de)
Date: Wed Aug 30 2000 - 10:47:39 EST


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/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:25 EST