[torqueusers] 64 bit issues.

Garrick Staples garrick at usc.edu
Fri Aug 26 08:46:43 MDT 2005


On Fri, Aug 26, 2005 at 09:09:48AM +0200, Roy Dragseth alleged:
> On Thursday 25 August 2005 19:17, Garrick Staples wrote:
> > This is very lightly tested, but seems to work fine with a 32bit server
> > and mixed moms.
> 
> Thanks for the patch, I've got something similar in test mode.
> 
> But it seems to be a lot of implicit assumptions about u_long to be 32bit 
> throughout the code.  For instance in mom_server.c, the tlist, tfind etc use 
> a node structure where the key is u_long:
> 
> typedef struct node_t {
>   u_long         key;
>   struct node_t	*left, *right;
>   } node;
> 
> node *okclients = NULL;	/* tree of ip addrs */
> 
> I have a suspicion that this might be the cause of the problem I've reported 
> in the bugzilla:
> 
> http://www.clusterresources.com/bugzilla/show_bug.cgi?id=91

Ah, I know what that is.  It's a design bug, not a coding bug.

okclients is the list of all moms and servers to authorize connections.
Server maintains the list and sends it to mom when they first start.

The problem is that the list is not broadcasted out when you add a new
node.


-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20050826/7c84643d/attachment.bin


More information about the torqueusers mailing list