[PATCH] Consider nanoseconds when quick-checking for unchanged files

Paul Slootman paul+rsync at wurtel.net
Thu Jan 21 07:28:44 UTC 2016


On Wed 20 Jan 2016, Wayne Davison wrote:

> equal. One possible improvement would be to skip the nanosecond check if
> the destination file has a nanosecond value of 0.  That could possibly be
> improved if we figure out if a particular device ID supports nanoseconds
> somehow.  I have a potential heuristic in mind that I can code up and see
> how it works.

It would be very handy if that could be extended to take into account
FAT filesystems, i.e. automagically set --modify-window=2 if it's
detected that you're writing to a FAT filesystem. It's basically the
same problem as detecting that you're writing to a filesystem that
doesn't support nanoseconds IMHO.


Paul



More information about the rsync mailing list