* 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 |
||
|---|---|---|
| .. | ||
| exception | ||
| fileiteration | ||
| filejournal | ||
| fileop | ||
| fileophandle | ||
| fsfile | ||
| FileBackend.php | ||
| FileBackendMultiWrite.php | ||
| FileBackendStore.php | ||
| FileOpBatch.php | ||
| FSFileBackend.php | ||
| HTTPFileStreamer.php | ||
| MemoryFileBackend.php | ||
| SwiftFileBackend.php | ||