X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_guts.h;h=3647d6bce6cd629dfcc483edead75c5519809a17;hp=8c0b782492af595dcaf7afe7f0c7284293e7459c;hb=6db5aca55acb7c8af07c8ec90ba8dd9085ab0895;hpb=c565b5da13774bc9d5f661d93a127ba86a8769e7 diff --git a/yaffs_guts.h b/yaffs_guts.h index 8c0b782..3647d6b 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -1,7 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2007 Aleph One Ltd. + * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning @@ -763,8 +763,10 @@ struct yaffs_DeviceStruct { __u32 nBlockErasures; __u32 nErasureFailures; __u32 nGCCopies; - __u32 garbageCollections; - __u32 passiveGarbageCollections; + __u32 allGCs; + __u32 passiveGCs; + __u32 oldestDirtyGCs; + __u32 backgroundGCs; __u32 nRetriedWrites; __u32 nRetiredBlocks; __u32 eccFixed; @@ -897,7 +899,7 @@ void yaffs_HandleDeferedFree(yaffs_Object *obj); void yaffs_UpdateDirtyDirectories(yaffs_Device *dev); -int yaffs_BackgroundGarbageCollect(yaffs_Device *dev); +int yaffs_BackgroundGarbageCollect(yaffs_Device *dev, unsigned urgency); /* Debug dump */ int yaffs_DumpObject(yaffs_Object *obj);