

* cifs: add kernel config option for CIFS Client caching support the cache coherency check may not be reliable always as someĬIFS servers are known not to update mtime until the filehandle is closed.Ĭifs: add kernel config option for CIFS Client caching supportĬifs: define server-level cache index objects and register them with FS-CacheĬifs: define superblock-level cache index objects and register themĬifs: define inode-level cache object and register themĬifs: add mount option to enable local cachingĬache.c | 331 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++įscache.c | 236 ++++++++++++++++++++++++++++++++++++++++++ Under the hood, we won't be able to benefit from the cache. We use UniqueId to ensure that the root directory did not change UniqueId itself rather than using the UniqueId from the server. when the 'noserverino' mount option is used, the client generates

when you copy the second time, it should be read from the local cache (youĬould unmount and remount to reduce the page cache impact). try copying a huge file (say few hundred MBs) from mount point to localįilesystem (during the first time, the cache will be initialized) mount -t cifs //server/share -o user=guest dropped the patch to guard cifsglob.h against multiple inclusion as it CreateTime could be considered once some of related development we now check LastWriteTime, LastChangeTime and eof of server for dataĬoherency. Servers seem to provide one of them and it's unique. root dir of the share is validated by UniqueId/IndexNumber. server index key uses tuple instead of servername Of 4096 to make caching working properly due to this bug. fix a bug while storing pages to the cache. fix a bug during registration with FS-Cache The cache coherency is ensured byĬhecking the LastWriteTime, LastChangeTime and end of file (eof) reported by The superblock index object is keyed by the sharename and the The server index object is keyed by IPaddress of the server, socket familyĪnd the port. The cache index hierarchy which is mainly used to locate a file object orĭiscard a certain subset of the files cached, currently has three levels: This patchset is a second try at adding persistent, local caching facility for To: Steve French +Cc: linux-fsdevel, linux-cifs, linux-cachefs ` (21 subsequent siblings) 22 siblings, 1 reply 263+ messages in threadįrom: Suresh Jayaraman 12:41 UTC ( / raw)

12:41 ` cifs: add kernel config option for CIFS Client caching support Suresh Jayaraman Cifs: local caching support using FS-Cache All of help / color / mirror / Atom feed * cifs: local caching support using FS-Cache
