[rds-devel] FW: RDS -- how to detect peer is gone ?

Andy Grover andy.grover at oracle.com
Tue Mar 30 11:41:12 PDT 2010


Tang, Changqing wrote:
> Andy,
>         One simple question, does 32bit rds-rdma code work on x86_64 machine ?
> I noticed that the size of 'struct cmsghdr' is different between 32bit and 64bit,
> If the kernel code is always 64bit, how does the RDS kernel code figure out
> The control message buffer is passed as 32bit format?
> 
>         Do I miss something here ?

See "man cmsg", it describes the various macros that resolve 32/64
differences.

Regards -- Andy

> 
> Thank you.
> --CQ
> 
> -----Original Message-----
> From: Andy Grover [mailto:andy.grover at oracle.com]
> Sent: Tuesday, March 16, 2010 5:44 PM
> To: Tang, Changqing
> Cc: rds-devel at oss.oracle.com
> Subject: Re: [rds-devel] FW: RDS -- how to detect peer is gone ?
> 
> Tang, Changqing wrote:
>>> [CQ] yes, the node is up and the process may corrupted. If you can
>>> extend the rds ping message a little bit to process as optional,
>>> that would be wonderful.
>> I don't see why rds's ping functionality as-is is insufficient for
>> what you want to do.
>>
>> [CQ] What do you mean ? how can I use rds ping function as-is to
>> identify process down ?
> 
> Like I said, if the process doesn't respond but the rds ping does, then
> you know the machine is alive but the process is not.
> 
> -- Andy




More information about the rds-devel mailing list