Subject: bug#19681: [PATCH] sync: use syncfs(2) if any argument is specified

From: Bernhard Voelker <[email-masked]>
Date: Sun, 25 Jan 2015 19:05:42 +0100

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