comparison yaffs_guts.h @ 404:792f3d959342

yaffs: More background gc tweaks. Slight changes to urgency thresholds Fix problem where background gc was interfering with sync resulting in checkpoints being lost. Add more tracing for background gc. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
author Charles Manning <cdhmanning@gmail.com>
date Tue, 20 Apr 2010 14:36:01 +1200
parents 675a2af6ea46
children b5309c9b6d7f
comparison
equal deleted inserted replaced
403:205fa93db422 404:792f3d959342
761 __u32 nPageWrites; 761 __u32 nPageWrites;
762 __u32 nPageReads; 762 __u32 nPageReads;
763 __u32 nBlockErasures; 763 __u32 nBlockErasures;
764 __u32 nErasureFailures; 764 __u32 nErasureFailures;
765 __u32 nGCCopies; 765 __u32 nGCCopies;
766 __u32 garbageCollections; 766 __u32 allGCs;
767 __u32 passiveGarbageCollections; 767 __u32 passiveGCs;
768 __u32 oldestDirtyGCs;
769 __u32 backgroundGCs;
768 __u32 nRetriedWrites; 770 __u32 nRetriedWrites;
769 __u32 nRetiredBlocks; 771 __u32 nRetiredBlocks;
770 __u32 eccFixed; 772 __u32 eccFixed;
771 __u32 eccUnfixed; 773 __u32 eccUnfixed;
772 __u32 tagsEccFixed; 774 __u32 tagsEccFixed;
895 897
896 void yaffs_HandleDeferedFree(yaffs_Object *obj); 898 void yaffs_HandleDeferedFree(yaffs_Object *obj);
897 899
898 void yaffs_UpdateDirtyDirectories(yaffs_Device *dev); 900 void yaffs_UpdateDirtyDirectories(yaffs_Device *dev);
899 901
900 int yaffs_BackgroundGarbageCollect(yaffs_Device *dev); 902 int yaffs_BackgroundGarbageCollect(yaffs_Device *dev, unsigned urgency);
901 903
902 /* Debug dump */ 904 /* Debug dump */
903 int yaffs_DumpObject(yaffs_Object *obj); 905 int yaffs_DumpObject(yaffs_Object *obj);
904 906
905 void yaffs_GutsTest(yaffs_Device *dev); 907 void yaffs_GutsTest(yaffs_Device *dev);