Value of M in rsync algorithm

2010-02-12 Thread Hasanat Kazmi
Hi, I am a little curious about value of M. Its used in rsync algo for finding modulus. ( http://samba.anu.edu.au/rsync/tech_report/node3.html ) In rsync, it is kept to 2^32 What if like Adler 32, M is changed to nearest prime to 2^32, any idea what effect it will have on resulting check-sums(In t

[RFC] add support for fallocate()

2010-02-12 Thread Sebastian Andrzej Siewior
fallocate() is linux specific and will preallocate the space on disk for the entire file. FALLOC_FL_KEEP_SIZE does not change the filesize as reported by stat(). An aborted transfer will have preallocated disk space which is not "visible" via stat(). This shouldn't matter unless the user does compl

Re: Same hang with 3.0.7

2010-02-12 Thread Whit Blauvelt
The end of the strace for the initiating system, to which the directory tree is being updated, follows. This is while the load is rapidly rising, and the rsync display on the console has simply hung. I'll put the whole strace file at http://transpect.com/rsync-11184.out.bz2 for anyone who wants mor