Re: I/O operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 1, 2009 at 1:08 AM, Rohit Sharma <imreckless@xxxxxxxxx> wrote:
> On Wed, Dec 31, 2008 at 5:53 PM, rohit vashist
> <rohitvashist2kk3@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux