On Fri, Feb 20, 2004 at 03:44:13PM +1100, Martin Pool wrote: > On 10 Feb 2004, Joe Buehler <[EMAIL PROTECTED]> wrote: > > Martin Pool wrote: > > > > >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. > > Could you try this patch please? > > Do you see the problem if you don't use LZO?
BTW, the testsuite works fine on HP-UX 11.x with mmap() enabled. -- albert chin ([EMAIL PROTECTED]) __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/distcc
