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