> Hi Baidu,
>
> >>> diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c
> >>> index dfb1745..f38f755 100644
> >>> --- a/fs/jffs2/jffs2_1pass.c
> >>> +++ b/fs/jffs2/jffs2_1pass.c
> >>> @@ -1441,7 +1441,7 @@ dump_dirents(struct b_lists *pL)
> >>>  }
> >>>  #endif
> >>>
> >>> -#define DEFAULT_EMPTY_SCAN_SIZE      4096
> >>> +#define DEFAULT_EMPTY_SCAN_SIZE      1024
> >>
> >> Hm, this is not mentioned in the commit log.  So is this detection
> >> already there and you simply decrease the amount of empty space you are
> >> looking for?
> >>
> >
> > 1KB FF is enough to get the conclusion that the erase block is empty.
> > I refer kenel to do this change
>
> Ah, so this is in the kernel, right?  If I look into 'fs/jffs2/scan.c' I
> see that this constant even changed to 256 in 2.6.37.  We should adapt
> accordingly.

Yes, that would be me :) The scanning is just a paranoia so therefore I lowered
it.

 Jocke

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to