aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/caching
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2009-11-19 13:11:45 -0500
committerDavid Howells <dhowells@redhat.com>2009-11-19 13:11:45 -0500
commit60d543ca724be155c2b6166e36a00c80b21bd810 (patch)
tree90ec6edd77ddb7666dbf7069aa2e001f155cea49 /Documentation/filesystems/caching
parentd461d26dde901b0523c46b0317e7fccf574a3933 (diff)
FS-Cache: Start processing an object's operations on that object's death
Start processing an object's operations when that object moves into the DYING state as the object cannot be destroyed until all its outstanding operations have completed. Furthermore, make sure that read and allocation operations handle being woken up on a dead object. Such events are recorded in the Allocs.abt and Retrvls.abt statistics as viewable through /proc/fs/fscache/stats. The code for waiting for object activation for the read and allocation operations is also extracted into its own function as it is much the same in all cases, differing only in the stats incremented. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'Documentation/filesystems/caching')
-rw-r--r--Documentation/filesystems/caching/fscache.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/filesystems/caching/fscache.txt b/Documentation/filesystems/caching/fscache.txt
index 7097fd29fb3d..3c23411956bb 100644
--- a/Documentation/filesystems/caching/fscache.txt
+++ b/Documentation/filesystems/caching/fscache.txt
@@ -253,6 +253,7 @@ proc files.
253 int=N Number of alloc reqs aborted -ERESTARTSYS 253 int=N Number of alloc reqs aborted -ERESTARTSYS
254 ops=N Number of alloc reqs submitted 254 ops=N Number of alloc reqs submitted
255 owt=N Number of alloc reqs waited for CPU time 255 owt=N Number of alloc reqs waited for CPU time
256 abt=N Number of alloc reqs aborted due to object death
256 Retrvls n=N Number of retrieval (read) requests seen 257 Retrvls n=N Number of retrieval (read) requests seen
257 ok=N Number of successful retr reqs 258 ok=N Number of successful retr reqs
258 wt=N Number of retr reqs that waited on lookup completion 259 wt=N Number of retr reqs that waited on lookup completion
@@ -262,6 +263,7 @@ proc files.
262 oom=N Number of retr reqs failed -ENOMEM 263 oom=N Number of retr reqs failed -ENOMEM
263 ops=N Number of retr reqs submitted 264 ops=N Number of retr reqs submitted
264 owt=N Number of retr reqs waited for CPU time 265 owt=N Number of retr reqs waited for CPU time
266 abt=N Number of retr reqs aborted due to object death
265 Stores n=N Number of storage (write) requests seen 267 Stores n=N Number of storage (write) requests seen
266 ok=N Number of successful store reqs 268 ok=N Number of successful store reqs
267 agn=N Number of store reqs on a page already pending storage 269 agn=N Number of store reqs on a page already pending storage