New tricks for XFS
New tricks for XFS
Posted Feb 22, 2018 20:50 UTC (Thu) by clump (subscriber, #27801)In reply to: New tricks for XFS by dgc
Parent article: New tricks for XFS
Posted Feb 23, 2018 17:05 UTC (Fri)
by wazoox (subscriber, #69624)
[Link] (5 responses)
Posted Feb 23, 2018 19:45 UTC (Fri)
by clump (subscriber, #27801)
[Link] (4 responses)
I also wish there was something akin to an ext5 with an upstream COW implementation.
Posted Feb 23, 2018 21:15 UTC (Fri)
by wazoox (subscriber, #69624)
[Link]
Posted Feb 23, 2018 21:23 UTC (Fri)
by nix (subscriber, #2304)
[Link] (2 responses)
So old filesystems mostly continue to use older codepaths, or aspects of newer codepaths which are heavily tested by virtue of the weight of existing filesystems out there. Only people willing to take the significant plunge of re-mkfsing are affected by the potential bug load (and, obviously, don't even do this with test filesystems on important machines until you're confident it won't oops :) ).
(The unusual thing about this set of features is that it doesn't seem to need new xfs features at all: any fs with the existing reflink and rmapbt features can take advantage of it! That's *very* impressive to me.)
Posted Feb 23, 2018 22:01 UTC (Fri)
by dgc (subscriber, #6611)
[Link] (1 responses)
No, that's not the case. I think I showed the list of experimental features that the demo used in the talk. Sure, reflink and rmapbt are no longer experimental (as of 4.16-rc1), but I added a new "thinspace" feature for thin provisioning awareness and another for "subvol" support, because that also requires special flags in inodes and other such things to mark the filesystem as a subvol.
Overall, there's remarkably little change for the subvol feature - about 1400 lines of new kernel code and ~300 lines of userspace code were needed for the demo I gave during the talk. Compare that to the data-COW feature in XFS that it relies on - we added about 20,000 lines of code for that between kernel and userspace....
Posted Mar 3, 2018 13:58 UTC (Sat)
by nix (subscriber, #2304)
[Link]
New tricks for XFS
New tricks for XFS
New tricks for XFS
New tricks for XFS
New tricks for XFS
> at all: any fs with the existing reflink and rmapbt features can take advantage of it! That's
> *very* impressive to me.)
New tricks for XFS