
On Fri, Aug 18, 2017, at 05:58 PM, Tim Connors wrote:
On 17 August 2017 1:37:24 pm AEST, Tim Connors via luv-main <luv-main@luv.asn.au> 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.
See O_PONIES. Applications not using the API correctly to safely store data to disk are the problem.
There's mitigation in XFS for a number of years now.
Yes I know all about libeatmydata, but you'll agree the race condition doesn't extend to 5 days after close(), right?
It could, it entirely depends on what you have configured... you can make the kernel *very* unwilling to write things back to disk. 5 days sounds long, and I haven't heard of anything *that* long, but I wouldn't be surprised if you could configure the kernel and run workloads in a way that it could happen..