cifs: define server-level cache index objects and register them
authorSuresh Jayaraman <sjayaraman@suse.de>
Mon, 5 Jul 2010 12:42:15 +0000 (18:12 +0530)
committerSteve French <sfrench@us.ibm.com>
Mon, 2 Aug 2010 12:40:34 +0000 (12:40 +0000)
commit488f1d2d6cc9d665c9f09e4b54f77052732e3058
tree2e240da84cdb009b89508e0fa748bebe71e35766
parentf579cf3cfd1e19ae5aab6929679d0c04bf1a6284
cifs: define server-level cache index objects and register them

Define server-level cache index objects (as managed by TCP_ServerInfo structs)
and register then with FS-Cache. Each server object is created in the CIFS
top-level index object and is itself an index into which superblock-level
objects are inserted.

The server objects are now keyed by {IPaddress,family,port} tuple.

Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/Makefile
fs/cifs/cache.c
fs/cifs/cifsglob.h
fs/cifs/connect.c
fs/cifs/fscache.c [new file with mode: 0644]
fs/cifs/fscache.h