bug#19681: [PATCH] sync: use syncfs(2) if any argument is specified
From:
Bernhard Voelker
Subject:
bug#19681: [PATCH] sync: use syncfs(2) if any argument is specified
Date:
Sun, 25 Jan 2015 19:05:42 +0100
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
On 01/25/2015 06:41 PM, PƔdraig Brady wrote:
> So we have: fdatasync < fsync < syncfs < sync
> referring to:: file data, file data + metadata, file system, all file systems
> [...]
> I'd be incline to go with the _what_ interface above.
Either way, I think it's important to document sync is falling back
to the bigger hammer if the smaller failed.
... or shouldn't do sync this?
Have a nice day,
Berny