GNU bug report logs - #22768
Crash safety

Previous Next

Package: gzip;

Reported by: Yanyan Jiang <jiangyy <at> outlook.com>

Date: Mon, 22 Feb 2016 16:02:02 UTC

Severity: normal

Merged with 22770

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 22768 <at> debbugs.gnu.org (full text, mbox):

From: Antonio Diaz Diaz <antonio <at> gnu.org>
To: 22768 <at> debbugs.gnu.org
Cc: Yanyan Jiang <jiangyy <at> outlook.com>
Subject: Re: bug#22768: Crash safety
Date: Sat, 27 Feb 2016 01:50:54 +0100
Antonio Diaz Diaz wrote:
> Just now my preference is to make the behavior optional and call the 
> option --fsync. I think both points meet the principle of least surprise.

An additional reason to make the behavior optional is that people find 
the performance penalty of fsync so annoying that they even write 
libraries to disable it[1].

"This package contains a small LD_PRELOAD library (libeatmydata) and a 
couple of helper utilities designed to transparently disable fsync and 
friends (like open(O_SYNC)). This has two side-effects: making software 
that writes data safely to disk a lot quicker and making this software 
no longer crash safe."

[1] http://packages.debian.org/testing/utils/eatmydata


Best regards,
Antonio.





This bug report was last modified 9 years and 74 days ago.

Previous Next


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