Print

Print


* [XCache] Implement Cache::Unlink(); use it for handling of FSync errors, too.
  - Unlink removes specified data file and corresponding cinfo file.
  - If a file is currently open, it is put into shutdown mode.
    All new Read requests on File fail immediately with ENOENT error code.

* [POSIX] Correct inconsitent errno handling.

* [XCache] Review error handling and bring error codes in sync with POSIX changes.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Review and correct error handling in POSIX and XCache, implement XCache::Unlink().

-- File Changes --

    M src/XrdFileCache/XrdFileCache.cc (192)
    M src/XrdFileCache/XrdFileCache.hh (16)
    M src/XrdFileCache/XrdFileCacheCommand.cc (91)
    M src/XrdFileCache/XrdFileCacheConfiguration.cc (18)
    M src/XrdFileCache/XrdFileCacheFile.cc (233)
    M src/XrdFileCache/XrdFileCacheFile.hh (17)
    M src/XrdFileCache/XrdFileCacheIO.hh (5)
    M src/XrdFileCache/XrdFileCacheIOEntireFile.cc (22)
    M src/XrdFileCache/XrdFileCacheIOFileBlock.cc (13)
    M src/XrdFileCache/XrdFileCacheInfo.cc (9)
    M src/XrdFileCache/XrdFileCacheInfo.hh (112)
    M src/XrdFileCache/XrdFileCachePrint.cc (4)
    M src/XrdFileCache/XrdFileCachePurge.cc (5)
    M src/XrdFileCache/XrdFileCacheTrace.hh (4)
    M src/XrdFileCache/XrdFileCacheVRead.cc (115)
    M src/XrdPosix/XrdPosixAdmin.cc (2)
    M src/XrdPosix/XrdPosixFile.cc (19)
    M src/XrdPosix/XrdPosixFileRH.cc (6)
    M src/XrdPosix/XrdPosixMap.cc (6)
    M src/XrdPosix/XrdPosixMap.hh (3)
    M src/XrdPosix/XrdPosixPrepIO.cc (3)
    M src/XrdPosix/XrdPosixXrootd.cc (16)
    M src/XrdXrootd/XrdXrootdAio.cc (37)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/997.patch
https://github.com/xrootd/xrootd/pull/997.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/997

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