xenblk: Add O_DIRECT and O_SYNC support.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Joe Jin
Resend.
I never saw this patchset before!
Quoted 12 lines
[patch 0/6] xenblk: Add
O_DIRECTandO_SYNCsupport.This patchset to add
O_DIRECTandO_SYNCsupport to xenblk driver.At present xenblk driver, a ring buffer have introduced in backend and frontend, the cache got better for io performance. But at some conditions, data need write date to disk as soon as possible, this ring buffer made data could not sync to disk immediately, even open file with
O_DIRECTorO_SYNCflag. Obviously some potential risks at os for IO operation, so sync data to disk asap which the file open with O_DIRECT/O_SYNC is meaningful for xenblk driver.
Quoted 1 line
Please review and welcome comment.
How is this better than waiting in the domU (blkfront) domain to collect the required asynchronous responses? Scattering changes into Linux filesystems is a dead end unless you can get the changes accepted upstream via lkml.
-- Keir