Thread (2 messages) 2 messages, 2 authors, 2010-12-29

A doubt regarding submit_bio()

From: Gaurav Mahajan <hidden>
Date: 2010-12-27 19:25:12

Hello all,

I am working on a operation in which I need to assure the order of
bio_end_io() functions.
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.

Regards,
Gaurav.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help