A doubt regarding submit_bio()
writexdp at yahoo.com
Wed Dec 29 02:20:58 EST 2010
This works asynchronously.
So you should __not__ expect the same ordering in execution of bio->bi_endio ()
From: Gaurav Mahajan <gauravmahajan2007 at gmail.com>
To: kernelnewbies <kernelnewbies at nl.linux.org>
Sent: Tue, December 28, 2010 12:55:12 AM
Subject: A doubt regarding submit_bio()
I am working on a operation in which I need to assure the order of
Consider the scenario,
If I submit two bio requests using submit_bio() function one after
another, then is there any guarantee that the bio_end_io() for the
bios will be invoked in the same order in which I submitted the bios?
Basically I mean to say, would the generic block layer or I/O
scheduler maintain the order of bios submitted to them?
Hoping for some help.
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies