This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: jffs2 returning -ENOSPC


On Tue, Aug 16, 2005 at 12:55:25PM +0300, Edgar Grimberg wrote:
> And indeed it was a problem of jffs declared length. I allocated 0x50000 
> for the JFFS2 and got the tests running. I didn't expect to need so many 
> free sectors for just some little files that the tests create.

I think it needs 4 or 5 free sectors in order to do garbage
collection. Im not sure of the exact number. You probably need to
search the MTD mailling lists for more information.

        Andrew

> 
> >
> ><7>dirty size 0x00000070 + unchecked_size 0x00000070 < 
> >nospc_dirty_size 0x00010000, returning -ENOSPC
> ><7>jffs2_do_create(): reserved 0x3 bytes
> ><7>jffs2_clear_inode(): ino #3 mode %o
> >FAIL: fopen() returned NULL, No such entity
> >EXIT:<done>
> >
> 
> 
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]