On Thu, Jan 1, 2009 at 1:08 AM, Rohit Sharma <imreckl...@gmail.com> wrote:
> On Wed, Dec 31, 2008 at 5:53 PM, rohit vashist
> <rohitvashist2...@gmail.com> wrote:
>> Hi
>>
>> I want to know exactly what number of I/O operations are currenty being on
>> device,both for synchronous and asynchronous ? I went through aio.c and
>> found a relevant field for this in struct aio_setup_ring,thats  unsigned
>> nr_events.Is it correct.Please suggest.
>>
> Refer to request queues of each of the devices. You may find number of 
> requests.
> http://lwn.net/Articles/27055/
>

Refer to the request queue structure, you will find a field called 'in_flight'
its an unsigned int and shows the number of pending requests in the
device queue.
I hope this helps.

>> Thank You
>> Rohit
>>
>>
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to