News for hackers. Stuff that matters.
Re:TFS: A file system built for performance, space efficienc... by ticki_ on Sunday May 21, 2017 @03:26PM (#14388763)
> I understand this filesystem is still nascent, but shouldn't data integrity at least be one of the design goals?

What makes you think it isn't? It definitely is. In fact, it borrows several ideas from ZFS wrt/ integrity.

For example, it uses parent block checksums like ZFS.

Re:TFS: A file system built for performance, space efficienc... by dap on Sunday May 21, 2017 @04:40PM (#14389150)
> What makes you think it isn't?

The first section in the README is called "Design goals", with 13 items. None of them is "data integrity", and none of them even talks about validating the data or handling any failures aside from power loss.

By contrast, in the canonical slide deck on ZFS[1], the first slide talks about "provable end-to-end data integrity". In the paper[2], "design principles" section 2.6 is "error detection and correction".

I'm glad to hear that's also a focus for TFS. With ZFS, the emphasis on data integrity resulted in significant architectural choices -- I'm not sure it's something that can just be bolted on later. As a reader, I wouldn't have assumed TFS had the same emphasis. I think it's pretty valuable to spell this out early and clearly, with details, because it's actually quite a differentiator compared with most other systems.

[1] https://wiki.illumos.org/download/attachments/1146951/zfs_la...

[2] http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.184...

Re:TFS: A file system built for performance, space efficienc... by ticki_ on Monday May 22, 2017 @01:51AM (#14391286)
> The first section in the README is called "Design goals", with 13 items. None of them is "data integrity", and none of them even talks about validating the data or handling any failures aside from power loss.

Fair enough.

Re:TFS: A file system built for performance, space efficienc... by cmurf on Sunday May 21, 2017 @03:48PM (#14388888)
I can't tell from the code whether this is metadata only checksumming or if data is also checksummed. ZFS and Btrfs checksum both metadata and data.
Re:TFS: A file system built for performance, space efficienc... by ticki_ on Sunday May 21, 2017 @03:50PM (#14388898)
The data is summed too.