Print

Print


On 09/26/2012 07:03 PM, Andrew Hanushevsky wrote:
> Hi Victor,
>
> The particular fix came in two parts:
>
> 1) The fix to XrdPosix to recognize errors during reads when then 
> returned value from read is zero. That is what you tested.
>
> 2) A fix to the server to pass through the proper error code instead 
> of dumpng into the generic error = 38 class. You would need an upadted 
> server to see the real error number. That will have to wait for the 
> next release.
>
> At least you are not misled into thinking the operation succeeded 
> when, in fact, it did not.
>
> Andy

Andy, thank you very much for explanations.

Victor

>
> On Wed, 26 Sep 2012, Victor Kotlyar wrote:
>
>>
>> Follow-up Comment #2, bug #97560 (project xrootd):
>>
>> thank you very much!
>> after fix we have -1 for rc now that is good.
>>
>> *errno* still is not very useful
>>
>> error read: Function not implemented(38)
>> read rc = -1 errno 38
>>
>>
>>
>> But at least CASTOR sees it as error
>>
>> Sep 24 15:30:09 rtcpd[11328,1]: DiskToMemory() read(): errno = 38, 
>> serrno =
>> 0, rfio_errno = 0
>> Sep 24 15:30:09 rtcpd[11328,1]: rtcpd_AppendClientMsg() called
>> Sep 24 15:30:09 rtcpd[11328,1]: rtcpd_AppendClientMsg() txtbuf= 
>> CPDSKTP !
>> ERROR READING DISK FILE: No such file or directory
>>
>>
>> Regards,
>> Victor
>>
>>    _______________________________________________________
>>
>> Reply to this item at:
>>
>> <http://savannah.cern.ch/bugs/?97560>
>>
>> _______________________________________________
>>  Message sent via/by LCG Savannah
>>  http://savannah.cern.ch/
>>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1