Skip to contentSkip to conversation

Can I/O order be guaranteed by submitting sycn bio

DISCUSSION 谢纲 1 participant 1 message May 9, 2009

lore
Share & tools
lore

谢纲

author
#0 lore raw

Hi,

Some journal file systems submits sycn bio to do ordered write if the device does not support barrier i/o. But the sync bio only implies the unplug of the request queue. Some elevators may reorder the request. It's seems that the bio only with BIO_RW_SYNC flag could not guarantee the write order. Is this true?

If so, is there any better way to do ordered write when there is no barrier i/o support.

Thanks,

Signature · 1 line
Xie Gang