On Wed, Jul 10, 2019 at 2:51 PM Lassi Kortela <xxxxxx@lassi.io> wrote:

Does anyone lurking here know what's the story with sync() now that SSDs
are gradually taking over?

Given that disks, disk controllers, and disk array controllers all have big RAM buffers and report writes as done long before they actually are complete, I'd say: let's flush both sync-file and sync-file-system from SRFI 170.  That disposes of the question of which is the most useful (or least broken) scsh implementation.


John Cowan          http://vrici.lojban.org/~cowan        xxxxxx@ccil.org
The whole of Gaul is quartered into three halves.
        --Julius Caesar