This pull request contains the following changes: - XrdFileCache : implementation of disk based file cache. - packaging : 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 Or you can view, comment on it, or merge it online at: https://github.com/xrootd/xrootd/pull/72 -- 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. -- File Changes -- M packaging/rhel/xrootd.spec.in (2) M src/CMakeLists.txt (3) A src/XrdFileCache.cmake (45) A src/XrdFileCache/README (167) A src/XrdFileCache/XrdFileCache.cc (108) A src/XrdFileCache/XrdFileCache.hh (90) A src/XrdFileCache/XrdFileCacheAllowDecision.cc (50) A src/XrdFileCache/XrdFileCacheDecision.hh (43) A src/XrdFileCache/XrdFileCacheFactory.cc (551) A src/XrdFileCache/XrdFileCacheFactory.hh (115) A src/XrdFileCache/XrdFileCacheIOEntireFile.cc (154) A src/XrdFileCache/XrdFileCacheIOEntireFile.hh (54) A src/XrdFileCache/XrdFileCacheIOFileBlock.cc (188) A src/XrdFileCache/XrdFileCacheIOFileBlock.hh (61) A src/XrdFileCache/XrdFileCacheInfo.cc (194) A src/XrdFileCache/XrdFileCacheInfo.hh (151) A src/XrdFileCache/XrdFileCacheLog.cc (111) A src/XrdFileCache/XrdFileCacheLog.hh (47) A src/XrdFileCache/XrdFileCachePrefetch.cc (507) A src/XrdFileCache/XrdFileCachePrefetch.hh (109) A src/XrdFileCache/XrdFileCacheStats.hh (68) M src/XrdPosix/XrdPosixFile.cc (18) -- Patch Links -- https://github.com/xrootd/xrootd/pull/72.patch https://github.com/xrootd/xrootd/pull/72.diff --- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/72 ######################################################################## 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