cifs: define inode-level cache object and register them
authorSuresh Jayaraman <sjayaraman@suse.de>
Mon, 5 Jul 2010 12:42:45 +0000 (18:12 +0530)
committerSteve French <sfrench@us.ibm.com>
Mon, 2 Aug 2010 12:40:36 +0000 (12:40 +0000)
commit9451a9a52f91a4c171cfaca2f6d7a2ce91867b8d
treee447d252996e554a053890a75b55456b9926d602
parentd03382ce9a89dbe27cba25130f0b90c0d631d5c5
cifs: define inode-level cache object and register them

Define inode-level data storage objects (managed by cifsInodeInfo structs).
Each inode-level object is created in a super-block level object and is itself
a data storage object in to which pages from the inode are stored.

The inode object is keyed by UniqueId. The coherency data being used is
LastWriteTime, LastChangeTime and end of file reported by the server.

Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cache.c
fs/cifs/cifsfs.c
fs/cifs/cifsglob.h
fs/cifs/file.c
fs/cifs/fscache.c
fs/cifs/fscache.h
fs/cifs/inode.c