Print

Print


The current release does very little with the decision plugin architecture - we ship source code for a trivial plugin (which always returns true) but we don't appear to build it or ship it (of course, why would we?).

This pull request adds a new plugin, "blacklist decision", which can be enabled with the following configuration line:

pfc.decisionlib libXrdBlacklistDecision.so /etc/xrootd/blacklist-cache.cfg

where /etc/xrootd/blacklist-cache.cfg is a list of globs.  For example:

/bar/baz/foo
/foo/*/some_file
/foo/*/.*

This is shipped as part of the xrootd-server-libs RPM.

@alja @osschar 
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/286

-- Commit Summary --

  * Implement blacklisting in a FileCache decision plugin.

-- File Changes --

    M packaging/rhel/xrootd.spec.in (1)
    M src/XrdFileCache.cmake (23)
    A src/XrdFileCache/XrdFileCacheBlacklistDecision.cc (130)
    M src/XrdFileCache/XrdFileCacheDecision.hh (2)
    M src/XrdFileCache/XrdFileCacheFactory.cc (3)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/286.patch
https://github.com/xrootd/xrootd/pull/286.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/286

########################################################################
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