My old workstation, has /var /usr and /home mounted on an xfs file system, and it seems to spend most of its time grinding away, and getting slower and slower, much like windows used to 20 years ago, when it was heavily fragmented.
So how do I check the fragmentation status of XFS disks, and how do I fix it when I identify it.
I assume there is some magic, which prevents the old FAT type mess, but clearly something is going on, and it isn't a full disk.
As an aside my root partition is ext4, which I read somewhere can't get fragmented or fixes itself if it does. How do I check that too, and encourage it if needs be.