GNU bug report logs - #19681
[PATCH] sync: use syncfs(2) if any argument is specified

Previous Next

Package: coreutils;

Reported by: Giuseppe Scrivano <gscrivan <at> redhat.com>

Date: Sun, 25 Jan 2015 03:06:02 UTC

Severity: normal

Tags: patch

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Pádraig Brady <P <at> draigBrady.com>,  Paul Eggert <eggert <at> cs.ucla.edu>, Giuseppe Scrivano <gscrivan <at> redhat.com>
Cc: 19681 <at> debbugs.gnu.org
Subject: bug#19681: [PATCH] sync: use syncfs(2) if any argument is specified
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




This bug report was last modified 6 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.