git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'kumar/merge' into merge
[pandora-kernel.git]
/
Documentation
/
filesystems
/
caching
/
netfs-api.txt
diff --git
a/Documentation/filesystems/caching/netfs-api.txt
b/Documentation/filesystems/caching/netfs-api.txt
index
1902c57
..
a167ab8
100644
(file)
--- a/
Documentation/filesystems/caching/netfs-api.txt
+++ b/
Documentation/filesystems/caching/netfs-api.txt
@@
-95,7
+95,7
@@
restraints as possible on how an index is structured and where it is placed in
the tree. The netfs can even mix indices and data files at the same level, but
it's not recommended.
the tree. The netfs can even mix indices and data files at the same level, but
it's not recommended.
-Each index entry consists of a key of indeterminate length plus some auxil
l
iary
+Each index entry consists of a key of indeterminate length plus some auxiliary
data, also of indeterminate length.
There are some limits on indices:
data, also of indeterminate length.
There are some limits on indices:
@@
-203,23
+203,23
@@
This has the following fields:
If the function is absent, a file size of 0 is assumed.
If the function is absent, a file size of 0 is assumed.
- (6) A function to retrieve auxil
l
iary data from the netfs [optional].
+ (6) A function to retrieve auxiliary data from the netfs [optional].
This function will be called with the netfs data that was passed to the
This function will be called with the netfs data that was passed to the
- cookie acquisition function and the maximum length of auxil
l
iary data that
- it may provide. It should write the auxil
l
iary data into the given buffer
+ cookie acquisition function and the maximum length of auxiliary data that
+ it may provide. It should write the auxiliary data into the given buffer
and return the quantity it wrote.
and return the quantity it wrote.
- If this function is absent, the auxil
l
iary data length will be set to 0.
+ If this function is absent, the auxiliary data length will be set to 0.
- The length of the auxil
l
iary data buffer may be dependent on the key
+ The length of the auxiliary data buffer may be dependent on the key
length. A netfs mustn't rely on being able to provide more than 400 bytes
for both.
length. A netfs mustn't rely on being able to provide more than 400 bytes
for both.
- (7) A function to check the auxil
l
iary data [optional].
+ (7) A function to check the auxiliary data [optional].
This function will be called to check that a match found in the cache for
This function will be called to check that a match found in the cache for
- this object is valid. For instance with AFS it could check the auxil
l
iary
+ this object is valid. For instance with AFS it could check the auxiliary
data against the data version number returned by the server to determine
whether the index entry in a cache is still valid.
data against the data version number returned by the server to determine
whether the index entry in a cache is still valid.
@@
-232,7
+232,7
@@
This has the following fields:
(*) FSCACHE_CHECKAUX_NEEDS_UPDATE - the entry requires update
(*) FSCACHE_CHECKAUX_OBSOLETE - the entry should be deleted
(*) FSCACHE_CHECKAUX_NEEDS_UPDATE - the entry requires update
(*) FSCACHE_CHECKAUX_OBSOLETE - the entry should be deleted
- This function can also be used to extract data from the auxil
l
iary data in
+ This function can also be used to extract data from the auxiliary data in
the cache and copy it into the netfs's structures.
(8) A pair of functions to manage contexts for the completion callback
the cache and copy it into the netfs's structures.
(8) A pair of functions to manage contexts for the completion callback