Hacker News new | ask | show | jobs
by bonzini 1979 days ago
You can do write/sync/write/sync in order to achieve that. It would be nicer to have FUA support in system calls (or you can open the same file to two descriptors, one with O_SYNC and one without).