Do you know if fclones implements anything similar to https://github.com/hpc/libcircle ?
I also wonder if nftw(3) would be faster than readdir(3).