summaryrefslogtreecommitdiff
path: root/yaffs_guts.h
diff options
context:
space:
mode:
authorCharles Manning <cdhmanning@gmail.com>2010-09-03 14:05:49 +1200
committerCharles Manning <cdhmanning@gmail.com>2010-09-03 14:08:15 +1200
commit46f347899188a1491d8f3f43cb47495766aa839a (patch)
tree5e41a273fec64942883e0f44e769ec4b395becf1 /yaffs_guts.h
parentaf1e66bdb6be00b49d8500d01813cb207b930282 (diff)
yaffs Add stats tracking and control for background gc instrumentation
This allows us to track the impact of background gc. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_guts.h')
-rw-r--r--yaffs_guts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/yaffs_guts.h b/yaffs_guts.h
index 6d4ae46..f9b5ac1 100644
--- a/yaffs_guts.h
+++ b/yaffs_guts.h
@@ -759,6 +759,7 @@ struct yaffs_DeviceStruct {
__u32 allGCs;
__u32 passiveGCs;
__u32 oldestDirtyGCs;
+ __u32 nGCBlocks;
__u32 backgroundGCs;
__u32 nRetriedWrites;
__u32 nRetiredBlocks;