Mercurial > yaffs-ecoscentric
diff yaffs_guts.c @ 166:ed9d8be64cde
Add some more tracing
| author | charles |
|---|---|
| date | Sat, 11 Nov 2006 23:27:44 +0000 |
| parents | 73295a9b677b |
| children | da300036f023 |
line wrap: on
line diff
--- a/yaffs_guts.c +++ b/yaffs_guts.c @@ -2156,6 +2156,11 @@ static void yaffs_BlockBecameDirty(yaffs /* If the block is still healthy erase it and mark as clean. * If the block has had a data failure, then retire it. */ + + T(YAFFS_TRACE_GC | YAFFS_TRACE_ERASE, + (TSTR("yaffs_BlockBecameDirty block %d state %d %s"TENDSTR), + blockNo, bi->blockState, (bi->needsRetiring) ? "needs retiring" : "")); + bi->blockState = YAFFS_BLOCK_STATE_DIRTY; if (!bi->needsRetiring) {
