Subject: Re: another parallel-make race
To: Christos Zoulas <christos@zoulas.com>
From: Chuck Silvers <chuq@chuq.com>
List: current-users
Date: 09/17/2005 12:12:48
I'm not sure which change could have fixed the problem I described below,
but I tried again anyway.  the problem is still there.

-Chuck


On Sat, Sep 17, 2005 at 12:08:18PM -0400, Christos Zoulas wrote:
> On Sep 17,  8:43am, chuq@chuq.com (Chuck Silvers) wrote:
> -- Subject: Re: another parallel-make race
> 
> I think that this was because of a bug I just fixed this morning.
> Can you please try again?
> 
> christos
> 
> | ok, take 3 on this.  after yesterday's changes, the problem still remains.
> | now the issue is that chk_path() is called (because the directory didn't
> | exist), but chk_path() sees that the whole path already exists (because
> | it was created in the meantime) and so it returns -1, which causes the
> | original node_creat() to fail.
> | 
> | it occurs to me that rather than continue to fuss with pax, it might be
> | better to avoid the problem by changing the makefiles to create the
> | $TOOLDIR/include/nbinclude stuff once (from tools/Makefile) rather than
> | 3 times (from tools/{disklabel,fdisk,installboot}/Makefile including
> | tools/Makefile.disklabel).
> | 
> | which way do we want to go?
> | 
> | -Chuck
> -- End of excerpt from Chuck Silvers
>