Mercurial > yaffs-ecoscentric
changeset 162:c1f1418a78cf
More checkpoint logging
| author | charles |
|---|---|
| date | Thu, 09 Nov 2006 19:55:24 +0000 |
| parents | 73295a9b677b |
| children | acd330ff2d70 |
| files | yaffs_checkptrw.c |
| diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/yaffs_checkptrw.c +++ b/yaffs_checkptrw.c @@ -71,6 +71,9 @@ static void yaffs_CheckpointFindNextEras { int i; int blocksAvailable = dev->nErasedBlocks - dev->nReservedBlocks; + T(YAFFS_TRACE_CHECKPOINT, + (TSTR("allocating checkpt block: erased %d reserved %d avail %d next %d "TENDSTR), + dev->nErasedBlocks,dev->nReservedBlocks,blocksAvailable,dev->checkpointNextBlock)); if(dev->checkpointNextBlock >= 0 && dev->checkpointNextBlock <= dev->internalEndBlock &&
