The future of the page cache
The future of the page cache
Posted Feb 8, 2017 11:54 UTC (Wed) by geuder (subscriber, #62854)In reply to: The future of the page cache by abelloni
Parent article: The future of the page cache
Yes, I have seen oflags=sync
However, it seems like a big waste to handle the whole x GiB synchronously, just to know when the last block has been written.
I have not measured though. And I have not tested whether it solves the /dev/sdX -- /dev/sdX1 coherence issue.
For the more common case of USB removal (not my problem here) I have found
udiskctl power-off
in the meantime. At least for everybody using systemd.