Re:ZFS 2.2.0 (RC): Block Cloning merged
by Dylan16807 on Tuesday July 04, 2023 @04:46PM
(#36592318)
If you're on ZFS you're probably using snapshots, so all that work is already happening.
[ Parent
| on HN ]
Re:ZFS 2.2.0 (RC): Block Cloning merged
by rincebrain on Wednesday July 05, 2023 @11:38AM
(#36601940)
I mean, it's happening whether you're using snapshots or not; ZFS doesn't overwrite things in place basically ever. Snapshots just mean it doesn't delete the old copy as having nothing referencing it.
Re:ZFS 2.2.0 (RC): Block Cloning merged
by Dylan16807 on Wednesday July 05, 2023 @03:51PM
(#36606128)
CoW is always happening but without snapshots you can know that every block has exactly zero or one references and it's much simpler. No garbage collection, no complicated data structures, all you need is a single tree and a queue of dead blocks.
Re:ZFS 2.2.0 (RC): Block Cloning merged
by rincebrain on Wednesday July 05, 2023 @09:25PM
(#36609696)
It could, but for ZFS, I believe it still uses all the same machinery either way, it just short circuits a lot of paths.