summaryrefslogtreecommitdiffstats
path: root/fs/fscache/Makefile
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2009-04-03 16:42:37 +0100
committerDavid Howells <dhowells@redhat.com>2009-04-03 16:42:37 +0100
commita6891645cf2ddd4778096848a864580e7258faba (patch)
treee0095e8b87e199e7310508fc3687660746860600 /fs/fscache/Makefile
parent7394daa8c61dfda4baa687f133748fa0b599b017 (diff)
downloadblackbird-op-linux-a6891645cf2ddd4778096848a864580e7258faba.tar.gz
blackbird-op-linux-a6891645cf2ddd4778096848a864580e7258faba.zip
FS-Cache: Root index definition
Add a description of the root index of the cache for later patches to make use of. The root index is owned by FS-Cache itself. When a netfs requests caching facilities, FS-Cache will, if one doesn't already exist, create an entry in the root index with the key being the name of the netfs ("AFS" for example), and the auxiliary data holding the index structure version supplied by the netfs: FSDEF | +-----------+ | | NFS AFS [v=1] [v=1] If an entry with the appropriate name does already exist, the version is compared. If the version is different, the entire subtree from that entry will be discarded and a new entry created. The new entry will be an index, and a cookie referring to it will be passed to the netfs. This is then the root handle by which the netfs accesses the cache. It can create whatever objects it likes in that index, including further indices. 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>
Diffstat (limited to 'fs/fscache/Makefile')
-rw-r--r--fs/fscache/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fscache/Makefile b/fs/fscache/Makefile
index 1384823a160c..bc1f3b9d811a 100644
--- a/fs/fscache/Makefile
+++ b/fs/fscache/Makefile
@@ -3,6 +3,7 @@
#
fscache-y := \
+ fsdef.o \
main.o
fscache-$(CONFIG_PROC_FS) += proc.o
OpenPOWER on IntegriCloud