FS-Cache: Add cache tag handling
authorDavid Howells <dhowells@redhat.com>
Fri, 3 Apr 2009 15:42:37 +0000 (16:42 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 3 Apr 2009 15:42:37 +0000 (16:42 +0100)
commit0e04d4cefcf4d8fbbdb2c50e93ad541582933fd2
tree97c4cda6a2c246660e6a5c718a9272375cdb259c
parenta6891645cf2ddd4778096848a864580e7258faba
FS-Cache: Add cache tag handling

Implement two features of FS-Cache:

 (1) The ability to request and release cache tags - names by which a cache may
     be known to a netfs, and thus selected for use.

 (2) An internal function by which a cache is selected by consulting the netfs,
     if the netfs wishes to be consulted.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Steve Dickson <steved@redhat.com>
Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Tested-by: Daire Byrne <Daire.Byrne@framestore.com>
fs/fscache/Makefile
fs/fscache/cache.c [new file with mode: 0644]
fs/fscache/internal.h
include/linux/fscache.h