Do we know how other OSS plugins handle blocks?
For example, take a look at xrootd-hdfs:
https://github.com/bbockelm/xrootd-hdfs/blob/master/src/XrdHdfs.cc#L644
I leave st_blocks untouched. We should make sure this semantic change is well-advertised to plugin writers
Brian
On Feb 20, 2013, at 9:25 AM, Tommaso Boccali <[log in to unmask]> wrote:
> I checked better with local experts, and answer is no, even if another
> ext attribute could be added for this.
>
> but, as things stand now, stat is the safest way (and basically the only one)
>
> tom
>
> On Wed, Feb 20, 2013 at 10:33 AM, Yang, Wei <[log in to unmask]> wrote:
>> Or is this info (offline) also available via extended attribute?
>>
>> regards,
>> Wei Yang | [log in to unmask] | 650-926-3338(O)
>>
>>
>>
>>
>> On Feb 20, 2013, at 1:27 AM, Andrew Hanushevsky wrote:
>>
>>>
>>> Finally, am I correct in assuming that offline really means that st_size if
>>> greater than zero but st_blocks is zero. Is that really the only way to
>>> know?
>>>
>>> Andy
>>
>
>
>
> --
> Tommaso Boccali
> INFN Pisa
>
> ########################################################################
> 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
########################################################################
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
|