projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9da8de1
)
Add more checkpoint tracing
author
charles
<charles>
Thu, 9 Nov 2006 23:57:07 +0000
(23:57 +0000)
committer
charles
<charles>
Thu, 9 Nov 2006 23:57:07 +0000
(23:57 +0000)
yaffs_checkptrw.c
patch
|
blob
|
history
diff --git
a/yaffs_checkptrw.c
b/yaffs_checkptrw.c
index 72541c293ac5fe1ac8440d6dd4d22a01925f7eb2..2b14006b71517fe2c5dc144fabb7af6e112aab5a 100644
(file)
--- a/
yaffs_checkptrw.c
+++ b/
yaffs_checkptrw.c
@@
-13,7
+13,7
@@
*/
const char *yaffs_checkptrw_c_version =
*/
const char *yaffs_checkptrw_c_version =
- "$Id: yaffs_checkptrw.c,v 1.
8 2006-11-09 19:55:24
charles Exp $";
+ "$Id: yaffs_checkptrw.c,v 1.
9 2006-11-09 23:57:07
charles Exp $";
#include "yaffs_checkptrw.h"
#include "yaffs_checkptrw.h"
@@
-204,7
+204,10
@@
static int yaffs_CheckpointFlushBuffer(yaffs_Device *dev)
}
chunk = dev->checkpointCurrentBlock * dev->nChunksPerBlock + dev->checkpointCurrentChunk;
}
chunk = dev->checkpointCurrentBlock * dev->nChunksPerBlock + dev->checkpointCurrentChunk;
-
+
+ T(YAFFS_TRACE_CHECKPOINT,(TSTR("checkpoint wite buffer nand %d(%d:%d) objid %d chId %d" TENDSTR),
+ chunk, dev->checkpointCurrentBlock, dev->checkpointCurrentChunk,tags.objectId,tags.chunkId));
+
dev->writeChunkWithTagsToNAND(dev,chunk,dev->checkpointBuffer,&tags);
dev->checkpointByteOffset = 0;
dev->checkpointPageSequence++;
dev->writeChunkWithTagsToNAND(dev,chunk,dev->checkpointBuffer,&tags);
dev->checkpointByteOffset = 0;
dev->checkpointPageSequence++;