I downloaded the
xfs source via cvs.
While I look for the algorithm you can too. That's the beauty.
I checked out both linux-2.6-xfs and xfs-cmds. I ran the following command and found the man page you were looking at.
Code:
find . type f -print0 2> /dev/null | xargs -0 grep -iH 'scaled automatically' | cut -d: -f1 | sort -u
./xfs-cmds/xfsprogs/man/man8/mkfs.xfs.8
It's a start. I'm looking for the codebase for mkfs.xfs now. I'll update this post as I find more information.