afs/Documentation/filesystems cachefs.txt,1.4,1.5
dwh at infradead.org
dwh at infradead.org
Tue Sep 16 18:49:29 BST 2003
- Previous message: afs/fs/cachefs super.c,1.40,1.41 kcachefs_jnld.c,1.7,1.8
journal.c,1.45,1.46 interface.c,1.17,1.18 index.c,1.31,1.32
cachefs-int.h,1.43,1.44 block.c,1.11,1.12
- Next message: afs/fs/afs key_afs.c,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/afs/Documentation/filesystems
In directory phoenix.infradead.org:/tmp/cvs-serv19856/Documentation/filesystems
Modified Files:
cachefs.txt
Log Message:
added unjournalled block alteration and cookie index data update capability
Index: cachefs.txt
===================================================================
RCS file: /home/cvs/afs/Documentation/filesystems/cachefs.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- cachefs.txt 19 Aug 2003 13:37:08 -0000 1.4
+++ cachefs.txt 16 Sep 2003 16:49:26 -0000 1.5
@@ -640,6 +640,20 @@
operation started by the read/alloc and write functions.
+INDEX AND DATA FILE UPDATE
+--------------------------
+
+To request an update of the index data for an index or data file, the following
+function should be called:
+
+ void cachefs_update_cookie(struct cachefs_cookie *cookie);
+
+This function will refer back to the netfs_data pointer stored in the cookie by
+the acquisition function to obtain the data to write into each revised index
+entry. The update method in the parent index definition will be called to
+transfer the data.
+
+
INDEX AND DATA FILE UNREGISTRATION
----------------------------------
@@ -741,3 +755,11 @@
}
return 0;
}
+
+
+INDEX AND DATA FILE INVALIDATION
+--------------------------------
+
+There is no direct way to invalidate an index subtree or a data file. To do
+this, the caller should relinquish and retire the cookie they have, and then
+acquire a new one.
- Previous message: afs/fs/cachefs super.c,1.40,1.41 kcachefs_jnld.c,1.7,1.8
journal.c,1.45,1.46 interface.c,1.17,1.18 index.c,1.31,1.32
cachefs-int.h,1.43,1.44 block.c,1.11,1.12
- Next message: afs/fs/afs key_afs.c,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-afs-cvs
mailing list