wiki.techinc.nl/includes/libs/filebackend
Aaron Schulz 752ad738e9 filebackend: reduce unnecessary stat calls in FileBackend some cases
* Only call FileBackend::clearCache() only specific file paths.
  Make FSFileBackend respect specific path lists in doClearCache().
* Detect FSFileBackendList errors during initialization rather than
  doing additional stat calls beforehand.
* Simplify FSFileBackend::doPrepareInternal() by removing is_readable()
  check as well as is_writable() when mkdir() was just successfully run.
* Simplify FSFileBackend::isPathUsableInternal() to just look at the
  parent directory (more likely to exist and be cacheable). Since files
  are renamed into place, there isn't much need to sanity check the
  target file path itself.
* Add a process cache for "usable directories" to FSFileBackend.
* Use is_dir() in TempFSFile to avoid triggering access() syscalls
  each time.

Change-Id: Ib2c76f4c4117b9beffd89370498aa57b5972f167
2019-10-22 02:29:26 +00:00
..
exception filebackend: move more files to subdirectories 2019-04-15 02:30:24 -07:00
fileiteration filebackend: reduce unnecessary stat calls in FileBackend some cases 2019-10-22 02:29:26 +00:00
filejournal Fix new phan errors, part 4 2019-10-12 10:35:31 +00:00
fileop filebackend: reduce unnecessary stat calls in FileBackend some cases 2019-10-22 02:29:26 +00:00
fileophandle filebackend: optimize 'create', 'store', and 'copy' in FSFileBackend 2019-10-16 12:37:27 -07:00
fsfile filebackend: reduce unnecessary stat calls in FileBackend some cases 2019-10-22 02:29:26 +00:00
FileBackend.php Fix new phan errors, part 4 2019-10-12 10:35:31 +00:00
FileBackendMultiWrite.php filebackend: reduce unnecessary stat calls in FileBackend some cases 2019-10-22 02:29:26 +00:00
FileBackendStore.php filebackend: reduce unnecessary stat calls in FileBackend some cases 2019-10-22 02:29:26 +00:00
FileOpBatch.php Fix new phan errors, part 6 2019-10-20 17:53:48 +00:00
FSFileBackend.php filebackend: reduce unnecessary stat calls in FileBackend some cases 2019-10-22 02:29:26 +00:00
HTTPFileStreamer.php filebackend: use AtEase in FileBackend related classes 2019-08-23 13:46:30 +00:00
MemoryFileBackend.php filebackend: replace wfTimestamp() calls with ConvertibleTimestamp::convert() 2019-09-08 15:01:45 -07:00
SwiftFileBackend.php filebackend: reduce hashing I/O in SwiftFileBackend::doStoreInternal() 2019-09-15 21:30:50 -07:00