[rds-devel] FW: RDS -- how to detect peer is gone ?
changquing.tang at hp.com
Thu Apr 8 08:15:12 PDT 2010
It was my mistake. 32bit application works on 64bit kernel.
The mistake was that I use 'struct iovec' for rds_rdma_args.local_vec_addr,
It should be 'struct rds_iovec'; the reason that 64bit works is that "struct iovec" and
"struct rds_iovec" are the same size, in 32bit, they are different.
Thanks for help.
From: Tina Yang [mailto:tina.yang at oracle.com]
Sent: Thursday, April 08, 2010 1:33 AM
To: Tang, Changqing
Cc: Andy Grover; RDS Devel
Subject: Re: [rds-devel] FW: RDS -- how to detect peer is gone ?
Tang, Changqing wrote:
> I mimic the 64bit interface to 64bit kernel in 32bit application.
> However, when I call sendmsg(), I got return value -1 and errno = ENOTCONN,
> The same code 64bit works fine.
> Do you have idea what problem could be ?
Because you are using a 64b interface with a 32b application.
Try 32b unmodified.
More information about the rds-devel