Re: [xz-devel] xz and fsync()

2016-12-28 Thread Lasse Collin
Thanks for your comment! On 2016-12-18 John Reiser wrote: > On 12/18/2016 11:30 AM, Lasse Collin wrote: > > There's a bug report about data loss due computer losing power. > > fsync() or fdatasync() in xz would quite likely have avoided the > > data loss. > > > > https://bugs.debian.org/814089

Re: [xz-devel] xz and fsync()

2016-12-18 Thread John Reiser
On 12/18/2016 11:30 AM, Lasse Collin wrote: There's a bug report about data loss due computer losing power. fsync() or fdatasync() in xz would quite likely have avoided the data loss. https://bugs.debian.org/814089 I considered adding fsync() to xz a long ago (it probably was before 5.0.0).

[xz-devel] xz and fsync()

2016-12-18 Thread Lasse Collin
There's a bug report about data loss due computer losing power. fsync() or fdatasync() in xz would quite likely have avoided the data loss. https://bugs.debian.org/814089 I considered adding fsync() to xz a long ago (it probably was before 5.0.0). I didn't add it because it had a huge perform