On Tue, 29 Nov 2022, maksiks wrote:

>> From your response is that I should put into the config
> oss.statlib /cms/.../statlib.py
> where statlib.py would by my custom script that will return what is needed?
Not quite. The plugin needs to be written in C++. An example of such a
plugin can be found in xrootd/src/XrdOss/XrdOssSIgpfsT.cc which is a stat
plugin for gpfs that is used to prohibit access to files that no longer
online. The way you package a stat plugin (i.e. create a shared library)
is shown in xrootd/src/XrdPlugins.cmake (see variable LIB_XRD_GPFS).

Your plugin needs to set the following flags in st_rdev XRDSFS_OFFLINE and
XRDSFS_HASBKUP, as appropriate. These are defined in XrdSfs/XrdSfsFlags.hh

>
>
> --
> Reply to this email directly or view it on GitHub:
> https://github.com/xrootd/xrootd/issues/1837#issuecomment-1330976472
> You are receiving this because you are subscribed to this thread.
>
> Message ID: ***@***.***>


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/1837/1331478049@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1837#issuecomment-1331478049", "url": "https://github.com/xrootd/xrootd/issues/1837#issuecomment-1331478049", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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