The Btrfs inode-number epic (part 2: solutions)
The Btrfs inode-number epic (part 2: solutions)
Posted Aug 24, 2021 6:21 UTC (Tue) by eru (subscriber, #2753)Parent article: The Btrfs inode-number epic (part 2: solutions)
Posted Aug 29, 2021 4:55 UTC (Sun)
by patrakov (subscriber, #97174)
[Link] (2 responses)
Posted Aug 31, 2021 13:44 UTC (Tue)
by Wol (subscriber, #4433)
[Link] (1 responses)
The *obvious* fix is to make i-nodes unique at the root file-system level. It's not a problem to think of a snapshots sharing i-nodes if they're sharing the same file ...
BUT. As soon as you break the link by modifying the file in one snapshot, that means you need to change the i-node number. No problem? Until the user has been using hardlinks to avoid having multiple identical copies of large files. You're now forcing "create temp files, copy over original" behaviour onto user space and that breaks hard links ...
I'm guessing there's plenty more problems where that came from, so where do we go from here? It ain't simple ...
Cheers,
Posted Aug 31, 2021 14:02 UTC (Tue)
by patrakov (subscriber, #97174)
[Link]
The Btrfs inode-number epic (part 2: solutions)
The Btrfs inode-number epic (part 2: solutions)
Wol
The Btrfs inode-number epic (part 2: solutions)