[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22768: Crash safety

From: Antonio Diaz Diaz
Subject: bug#22768: Crash safety
Date: Sat, 27 Feb 2016 01:50:54 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv: Gecko/20070601 SeaMonkey/1.1.2

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,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]