
On 17 Aug. 2017 16:02, "Russell Coker via luv-main" <luv-main@luv.asn.au> wrote: On Thursday, 17 August 2017 3:16:49 PM AEST Craig Sanders via luv-main wrote:
On Thu, Aug 17, 2017 at 01:37:24PM +1000, Tim Connors wrote:
Both XFS and btrfs enthusiastically like to silently throw any data written in the past 5 days on the floor when there's a power failure/kernel panic, so there's that commonality.
That's always been a false claim about XFS
Ah, my experience deceived me. That's assuming he really means 5 seconds not 5 days. If he really meant 5 days then I've never seen evidence to support such a claim. Correct, I edit a file in an editor, 5 days later the power fails. 3 days later, I come back and my file is one big fat 0 byte file. fdatasync() regardless, that's an awfully large time to forget to flush the write cache. Why do I bring no evidence of this? Well it's awfully hard to reproduce random data loss. And after the first few times it happens you realise you're dealing with a basket case, reinstall on ext4 and move on with your life (my fileserver is ZFS actually - you'll be amused by the number of silent data corruption bugs it's had despite its reputation -- such as incorrect sparse hole calculation on ZFS send/recv).