On Thu, Jun 27, 2013 at 05:57:40PM -0700, Jay Lan wrote:
> On 06/27/2013 05:45 PM, Lan, Jay J. (ARC-TNE)[Computer Sciences
> Corporation] wrote:
>> On 06/27/2013 05:38 PM, Lan, Jay J. (ARC-TNE)[Computer Sciences
>> Corporation] wrote:
>>> I tried to build lustre-2.4.0 client for sles11sp2 3.0.74-0.6.6.2.
>>> The build failed because cfs_spin_unlock was not defined:
>>> /usr/src/packages/BUILD/lustre-2.4.0/lnet/klnds/socklnd/socklnd_cb.c: In
>>> function 'ksocknal_check_peer_timeouts':
>>> error: implicit declaration of function 'cfs_spin_unlock'
>>> Where is that defined?
>> Never mind. The call was used in a carry-over patch from LLNL.
> Hmm, it is still in chaos's 2.4.0-RC2-llnl:
> LLNL-xxx Don't close connection for timedout ZC_REQ
> My last build about 2 months ago was successful. So,
> the function probably was removed recently...
> Anyway, that is the price to pay when you carry some
> unofficial patches ;-)
You must be carrying a very stale version of that patch. The version in
branch 2.4.0-RC2-llnl uses spin_unlock():