[PATCH] jffs2: Reduce excessive scan of empty blocks

Artem Bityutskiy dedekind1 at gmail.com
Tue Oct 12 04:54:33 EDT 2010


On Thu, 2010-10-07 at 19:09 +0200, Joakim Tjernlund wrote:
> Scanning 1024 bytes to see if an EB is empty is a bit much.
> Lower it to 256 bytes and make sure the while loop is
> optimized.
> 
> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
> ---
>  fs/jffs2/scan.c |   12 ++++++------
>  1 files changed, 6 insertions(+), 6 deletions(-)

Pushed to l2-mtd-2.6.git, thanks.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list