Hi Douglas,
I also did not know from the document what is passed to command. I added
a print out in XrdOfsEvs::sendEvents() and it looks synopsis is:
<executable-path> <event-id> <file-path>
Alja
On 12/09/14 04:24, Doug Benjamin wrote:
> Hi Andy,
>
> Please be more specific when the ofs layer should be called and when
> it should
> not be called. I do not understand the statement "open r/o with file
> placement"
> What information doe sthe OFS layer actually send to the script?
>
> Thanks,
>
> Doug
>
> On 12/09/2014 02:39 AM, Andrew Hanushevsky wrote:
>> Hi Alja,
>>
>> Yes, there are other events. However, I think you should just remove all
>> he callouts from your caching proxy and tell Doug to use the event
>> notfication in the OFS layer. See,
>>
>> http://xrootd.org/doc/dev4/ofs_config.htm#_Toc392685004
>>
>> This is what this whole thing was meant for. I don't think you need to do
>> anything special in the caching layer except, perhaps, a call out for a
>> stage-in (i.e. open r/o with file placement which the ofs callout issn't
>> quite suitable).
>>
>> Andy
>>
>> On Mon, 8 Dec 2014, Alja Mrak-Tadel wrote:
>>
>> > @abh3
>> > I guess I misunderstood Doug's request. I thought he wants to have a
>> given command invoked only on file open event.
>> >
>> > Is there other events too? Like Mkdir, Remdir, and Rename.
>> >
>> >
>> > ---
>> > Reply to this email directly or view it on GitHub:
>> > https://github.com/xrootd/xrootd/pull/180#issuecomment-66158178
>>
>> —
>> Reply to this email directly or view it on GitHub
>> <https://github.com/xrootd/xrootd/pull/180#issuecomment-66250104>.
>>
>>
>> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---
>>
>>
>> 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
|