Print

Print


This should protect against a SEGV observed under load for file caches.

This is a backport of ae1fcd1142a7570dd97473edb54555d63b5377f0, originally authored by @abh3.

Note: I'm not sure if there will be further releases in the 4.8.x series, but I wanted to make sure we at least had a PR we can point sites at if they had questions about this issue.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * [POSIX] Avoid SEGV due to race condition between open() and close().

-- File Changes --

    M src/XrdPosix/XrdPosixCallBack.hh (2)
    M src/XrdPosix/XrdPosixFile.cc (85)
    M src/XrdPosix/XrdPosixFile.hh (11)
    M src/XrdPosix/XrdPosixFileRH.cc (1)
    M src/XrdPosix/XrdPosixPrepIO.cc (22)
    M src/XrdPosix/XrdPosixPrepIO.hh (2)
    M src/XrdPosix/XrdPosixXrootd.cc (2)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/863

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