Print

Print


These two patches are necessary for the throttle plugin to function.

The first adds a new prctl to hint to the underlying SFS a read will be done that bypasses the SFS (i.e., a sendfile call).  This is necessary for the throttle to keep proper accounting.  It also adds the proper handling of a redirect on read, including monitoring.

The second is just a few Atomics fixups; the throttle plugin requires a proper return value from atomic operations.
You can merge this Pull Request by running:

  git pull https://github.com/bbockelm/xrootd-1 throttles_v3

Or you can view, comment on it, or merge it online at:

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

-- Commit Summary --

  * Add prctl for pre-read; useful to inform lower SFS monitoring layers that a read will occur which bypasses the standard read path (for example, when sendfile is used).
  * Fix return values of atomics.

-- File Changes --

    M src/XrdSfs/XrdSfsInterface.hh (5)
    M src/XrdSys/XrdSysAtomics.hh (4)
    M src/XrdXrootd/XrdXrootdFile.cc (4)
    M src/XrdXrootd/XrdXrootdFile.hh (2)
    M src/XrdXrootd/XrdXrootdMonData.hh (7)
    M src/XrdXrootd/XrdXrootdXeq.cc (14)

-- Patch Links --

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


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