The pull request contains new module implemented in src/XrdFileCache. In addition there are changes in the following subdirectories: * Doxyfile : add Doxygen documentation for XrdFileCache sources * src/CMakeLists.txt : build new XrdFileCache plugin * packaging/rhel/xrootd.spec.in : add libXrdFileCache.so to list of server libs * XrdPosix : src/XrdPosix/XrdPosixFile.cc in Finalize() -- Stat() the file before creation of the cache objects as they need to know the size of the file. You can merge this Pull Request by running: git pull https://github.com/alja/xrootd filecache-3 Or you can view, comment on it, or merge it online at: https://github.com/xrootd/xrootd/pull/81 -- Commit Summary -- * Activate XrdFileCache build. * Add XrdFileCache plugin to xrootd build. * Remove files added by accident. * Change FileBlock class to internal IOBlock structure. * Remove files checked in by accident. * Use context only for logging. * Use context only for logging. * Move Cache.hh/cc to XrdFileCache.hh/cc. * Move sources from CacheFileInfo.cc to XrdFileCacheInfo. * Rename sources to comply xrootd convetion. * Rename sources to comply xrootd convetion. * Rename sources to comply with xrootd naming convetion. * Rename sources to comply with xrootd naming convetion. * Rename sources to comply with xrootd naming convetion. * Rename sources to comply with xrootd naming convetion. * Rename sources to comply with xrootd naming convetion. * Rename sources to comply with xrootd naming convetion. * Fix non-used variable compilation warning if assert is skipped (non-debug mode). * Add XrdFileCache to server libs. * Add XrdFileCache to server libs. * Add GPL boilerplate. * Fix indent around defines. * Remove extern variables. * Remove obsolete function. * Fix white space. * Replace smart pointer. * Don't create a dummy decision plugin if no decision is specified. * Move function to create temprary path from IO to Cache class. Remove this static member in Cache. * Move cache purge code back to Factory class. * Comment out decision plugin code. * Make base class for IO objects. * Rename class from IOBlocks to IOBlock. * Add documentation. * Imporve comments. * Imporve comments. * Remove obsolete note. * Remove obsolete comment. * Enable ReadV. * in Finalize() get stat info before attaching cache. * Rename m_temp_directory to m_cache_dir. Change parameter name from -tmp to -cacheDir. * Rename m_temp_directory to m_cache_dir. Change parameter name from -tmp to -cacheDir. * Add option for default buffer. * Add blocksize in file name. * Set blockSize nad bufferSize when parsing configuration file. * Remove doc. * Run uncrustify code formatter. * Remove trailing white space. * Final review pass -- remove comments and unused variables. * Rename log macro from aMsg to xfcMsg. * Chage log level in Read(). * Fix inverted assert. * Remove duplicate prints in parse of configuration. * Print warning if info file is not opened. * Remove commeted code. * Move log level definition from XrdFileCache namespace to Factory member. * Remove debug print. * Rename IOEntire to IOEntireFile and IOBlock to IOFileBlock. * Rename IOEntire to IOEntireFile and IOBlock to IOFileBlock. * Remove trailing white space, add by mistake in the previous commit. * Print warning if failed to get status about downlaoded blocks. * Fix bug in when setting prefetch read size. * Indent 3-spaces in Finalize(). * Keep same logic as in master branch, except attach cache after Stat is successful. * Merge branch 'master' of https://github.com/xrootd/xrootd into filecache * First version of doc. * Code formatting --- indent namspace. use 3 space indent instead of 4. * Code formatting --- indent namspace. use 3 space indent instead of 4. * Document public functions and members. * Add doxygen documentation. * Make function private where possible. * Add doxdoc.e * Spell check comments. Document private members. * Spell check comments. Document private members. * Spell check comments. Document private members. * Begin all function names with capital letters. * Spell check comments. * Remove obsolete includes * Remove obsolete includes * Remove obsolete includes. * Begin Stat members with m_. * Improve comment. * Run uncrustify formatter. * Check there is enough available space in Factory::Decide(). * Improve function comments. * Use full log level names. * Wait from read the run thread is initalized. * Another pass through documentation. * Pull changes from master branch. * Fix compilation error. * Review docs. * Rename of offset variable. * Introduce version of info file. * Trace partial prefetch statistics. * resolve merge conflicts. * Remove empty line. * Remove empty line. -- File Changes -- M Doxyfile (11) M packaging/rhel/xrootd.spec.in (2) M src/CMakeLists.txt (2) A src/XrdFileCache.cmake (45) A src/XrdFileCache/README (167) A src/XrdFileCache/XrdFileCache.cc (102) A src/XrdFileCache/XrdFileCache.hh (99) A src/XrdFileCache/XrdFileCacheAllowDecision.cc (46) A src/XrdFileCache/XrdFileCacheDecision.hh (62) A src/XrdFileCache/XrdFileCacheFactory.cc (575) A src/XrdFileCache/XrdFileCacheFactory.hh (164) A src/XrdFileCache/XrdFileCacheIOEntireFile.cc (145) A src/XrdFileCache/XrdFileCacheIOEntireFile.hh (85) A src/XrdFileCache/XrdFileCacheIOFileBlock.cc (181) A src/XrdFileCache/XrdFileCacheIOFileBlock.hh (80) A src/XrdFileCache/XrdFileCacheInfo.cc (190) A src/XrdFileCache/XrdFileCacheInfo.hh (209) A src/XrdFileCache/XrdFileCacheLog.cc (108) A src/XrdFileCache/XrdFileCacheLog.hh (50) A src/XrdFileCache/XrdFileCachePrefetch.cc (502) A src/XrdFileCache/XrdFileCachePrefetch.hh (128) A src/XrdFileCache/XrdFileCacheStats.hh (72) M src/XrdPosix/XrdPosixFile.cc (18) -- Patch Links -- https://github.com/xrootd/xrootd/pull/81.patch https://github.com/xrootd/xrootd/pull/81.diff --- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/81 ######################################################################## 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