[Yaffs] Trouble with multiple files with the same name...&In…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Livio Tenze
Date:  
To: yaffs
Subject: [Yaffs] Trouble with multiple files with the same name...&In-Reply-To=445EF81D.7070906%40enteos.it
Hello Charles,

here some informations about the system I am using:
uname -a
Linux (none) 2.4.20_mvlcee31-mx21ads #8 Fri May 5 10:43:56 CEST 2006
armv5EJl unknown

when I wrote the data into the NAND device the /proc/yaffs was
YAFFS built:May 8 2006 08:16:56
$Id: yaffs_fs.c,v 1.41 2005/10/11 23:43:27 charles Exp $
$Id: yaffs_guts.c,v 1.45 2006/02/02 22:22:57 charles Exp $

Device yaffs
startBlock......... 0
endBlock........... 4095
chunkGroupBits..... 2
chunkGroupSize..... 4
nErasedBlocks...... 2239
nTnodesCreated..... 5200
nFreeTnodes........ 66
nObjectsCreated.... 2400
nFreeObjects....... 27
nFreeChunks........ 80693
nPageWrites........ 68343
nPageReads......... 77403
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 4094
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
nShortOpCaches..... 10

After the problems when I found the multilple files the /proc/yaffs is
cat /proc/yaffs
YAFFS built:May 8 2006 08:16:56
$Id: yaffs_fs.c,v 1.41 2005/10/11 23:43:27 charles Exp $
$Id: yaffs_guts.c,v 1.45 2006/02/02 22:22:57 charles Exp $

Device yaffs
startBlock......... 0
endBlock........... 4095
chunkGroupBits..... 2
chunkGroupSize..... 4
nErasedBlocks...... 2179
nTnodesCreated..... 5200
nFreeTnodes........ 3212
nObjectsCreated.... 2400
nFreeObjects....... 405
nFreeChunks........ 91215
nPageWrites........ 5340
nPageReads......... 31427
nBlockErasures..... 0
nGCCopies.......... 9
garbageCollections. 579
passiveGCs......... 579
nRetriedWrites..... 0
nRetireBlocks...... 579
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 2239
cacheHits.......... 0
nDeletedFiles...... 1883
nUnlinkedFiles..... 1890
nBackgroudDeletions 0
useNANDECC......... 1
nShortOpCaches..... 10

Thanks for your help!
Livius