This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: jffs2 returning -ENOSPC
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Edgar Grimberg <edgar dot grimberg at rms dot ro>
- Cc: ecos-discuss at sourceware dot org
- Date: Tue, 16 Aug 2005 12:03:42 +0200
- Subject: Re: [ECOS] jffs2 returning -ENOSPC
- References: <4300B8C4.1070506@rms.ro> <4301B80D.6090200@rms.ro>
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