projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs Some cleanups.
[yaffs2.git]
/
yaffs_guts.h
diff --git
a/yaffs_guts.h
b/yaffs_guts.h
index 8c0b782492af595dcaf7afe7f0c7284293e7459c..3647d6bce6cd629dfcc483edead75c5519809a17 100644
(file)
--- a/
yaffs_guts.h
+++ b/
yaffs_guts.h
@@
-1,7
+1,7
@@
/*
* YAFFS: Yet another Flash File System . A NAND-flash specific file system.
*
/*
* YAFFS: Yet another Flash File System . A NAND-flash specific file system.
*
- * Copyright (C) 2002-20
07
Aleph One Ltd.
+ * Copyright (C) 2002-20
10
Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
@@
-763,8
+763,10
@@
struct yaffs_DeviceStruct {
__u32 nBlockErasures;
__u32 nErasureFailures;
__u32 nGCCopies;
__u32 nBlockErasures;
__u32 nErasureFailures;
__u32 nGCCopies;
- __u32 garbageCollections;
- __u32 passiveGarbageCollections;
+ __u32 allGCs;
+ __u32 passiveGCs;
+ __u32 oldestDirtyGCs;
+ __u32 backgroundGCs;
__u32 nRetriedWrites;
__u32 nRetiredBlocks;
__u32 eccFixed;
__u32 nRetriedWrites;
__u32 nRetiredBlocks;
__u32 eccFixed;
@@
-897,7
+899,7
@@
void yaffs_HandleDeferedFree(yaffs_Object *obj);
void yaffs_UpdateDirtyDirectories(yaffs_Device *dev);
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);
/* Debug dump */
int yaffs_DumpObject(yaffs_Object *obj);