lkml.org 
[lkml]   [2005]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [DOC PATCH] block/stat.txt
On Tue, Dec 13 2005, Andy Isaacson wrote:
> > > +in_flight
> > > +=========
> > > +
> > > +This value counts the number of currently-queued I/O requests.
> >
> > A little confusing - it's the number of in flight io at the
> > driver/device end, that is after the block layer. One could read the
> > above as total in flight (total queued in the queue for the device),
> > which is a very different number.
>
> I wrote from misunderstanding, so it's no suprise what I wrote was
> wrong. :) Is "number of requests in the queue" available somewhere?

Nope, it's only accounted internally I'm afraid. It's somewhere between
0 and ~ /sys/block/<dev>/queue/nr_requests (it can go a little higher
than this value, hence approximately).

> How does this sound instead of the above?
>
> +in_flight
> +=========
> +
> +This value counts the number of I/O requests that have been issued to
> +the device driver but have not yet completed. It does not include I/O
> +requests that are in the queue but not yet issued to the device driver.

That is perfect, thanks.

--
Jens Axboe

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

\
 
 \ /
  Last update: 2005-12-13 19:39    [W:0.069 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site