Improve crash resilience in Linux

Syncing the directory is a required step to ensure resilience.
Also create the temporary file with O_EXCL to ensure to don't
use a stale copy that may link to the original copy.
This commit is contained in:
Andrea Mazzoleni 2018-06-04 22:14:23 +02:00
parent c696c56df1
commit 473819467f
5 changed files with 87 additions and 6 deletions

View file

@ -1,12 +1,13 @@
SnapRAID HISTORY
================
11.3 2018/01 (WIP)
11.3 2018/06 (WIP)
==================
* Fixed handing of Linux devices that have multiple slaves. This affects
the smart/list/devices/down commands [Valentin Hilbig].
* The 'list' command in verbose mode prints the full nanosecond
timestamp precision.
* After writing content files also sync their directory.
11.2 2017/12
============