Supporting async IO in block device driver.

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

 



Hi All,

I am working on a block device driver, like standard loop device, I am adding every new IO request in a bio list. The code looks something like this

make_request()
{
           bio_list_add();
           wakeup_thread();
}

thread()
{
         bio = get new bio()
         handle_bio(bio);
}

This is the synchronous version of IO. I would like to add the asynchronous IO support.

Can someone point me to the appropriate document or A block driver that has the support?

Thanks and Regards,
Prasad

[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