New tricks for XFS
New tricks for XFS
Posted Feb 23, 2018 15:47 UTC (Fri) by dcg (subscriber, #9198)In reply to: New tricks for XFS by nix
Parent article: New tricks for XFS
Now let's imagine that you make a large file in the last subvolume. It will requires to allocate blocks for its image residing in the previous filesystem. If the allocation is big enough, it may require also to allocate blocks for that previous subvolume, and would require to allocate blocks for him too - all the way to the host filesystem. Allocation performance will suffer heavily. In short, XFS needs to replicate space management structures for each embedded subvolume (and potentially need to update *all* of them in some extreme cases). In ZFS/btrfs, space management is shared by all subvolumes so it does not have these problems.
This is what leads me to believe that excessive subvolume embedding would be a scalability issue for this model, but may be I'm not understanding it right
Posted Feb 23, 2018 21:26 UTC (Fri)
by nix (subscriber, #2304)
[Link]
(I'll admit that what I want isn't subvolumes at all -- it's snapshotting on a directory granularity level. No subvolumes, no notion of "this is like a smaller subfilesystem", just each subdir can be snapshotted and the snapshots can be forked freely. That's still, I think, something not that hard with a CoW tree fs but incredibly clunky with Dave's scheme. One filesystem image per directory? I don't think that'll scale too well... a complete log and fs structures per directory, uh, no. :) )
New tricks for XFS