Turning off mmap works in samba, or in distcc?
Turning off mmap() in distcc makes it work.
I think it is probably the same bug.
I agree.
I wonder if it would be safe to munmap before we ftruncate? That might be less likely to cause any problems in interaction between mmap and regular IO.
I am going to look at the code -- I assume there is some sort of optimization that resulted in the current code that modifies the file after it is mapped. -- Joe Buehler
__ distcc mailing list http://distcc.samba.org/
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/distcc