submit_bio() flush to disk immediately

Prashant Shah pshah.mumbai at
Tue Aug 6 03:09:35 EDT 2013


I am trying to write a bio to a disk block directly using
submit_bio(), it works without any errors but on read it shows the old
data until I reboot the machine. Is there any way I can flush the
particular bio/dirty page immediately or force it to flush before the
next read ?

code :


More information about the Kernelnewbies mailing list