On Sat, 28 Aug 2021, Christoph Hellwig wrote: > On Thu, Aug 26, 2021 at 04:03:04PM +1000, NeilBrown wrote: > > > > This patch allows btrfs (or any filesystem) to provide a 64bit number > > that can be xored with the inode number to make the number more unique. > > Rather than the client being certain to see duplicates, with this patch > > it is possible but extremely rare. > > Yikes. Please don't do something like this that will eventually > cause collisions. > > There doesn't seem to be any other option - and this is still an improvement over the current behaviour. Collisions should still be quite a few years away, and there is hope that the btrfs developers will take action before then to provide some certainty. Not much hope, but some. NeilBrown