[Resend: [PATCH] Speed up mount for cfi_cmdset_0001 users]

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon Apr 16 08:11:11 EDT 2007


On Mon, 2007-04-02 at 12:00 +0200, Joakim Tjernlund wrote:
> Resending.
> 
>  Jocke 
> -------- Forwarded Message --------
> From: Joakim Tjernlund <joakim.tjernlund at transmode.se>
> Reply-To: joakim.tjernlund at transmode.se
> To: linux-mtd at lists.infradead.org
> Subject: [PATCH] Speed up mount for cfi_cmdset_0001 users
> Date: Tue, 27 Mar 2007 13:44:01 +0200
> 
> This will speed up mount greatly for users of point/unpoint method
> like cfi_cmdset_0001. Please Apply.
> 
>  Jocke
> 
> >From bcd1aa987ab786c526e225269775a557a1bcbe1f Mon Sep 17 00:00:00 2001
> From: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
> Date: Tue, 27 Mar 2007 13:32:09 +0200
> Subject: [PATCH] Speed up mount for cfi_cmdset_0001 users
> Remove excessive scanning of empty flash after a clean
> marker for users of the point/unpoint method. cfi_cmdset_0001
> uses point/unpoint by default iff flash mapping is linear.
> The speedup is several orders of magnitude if FS is less than
> half full.
> 
> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
> ---
>  fs/jffs2/scan.c |   15 +++++++++++----
>  1 files changed, 11 insertions(+), 4 deletions(-)
> 
> diff --git a/fs/jffs2/scan.c b/fs/jffs2/scan.c
> index b98661a..4679abe 100644
> --- a/fs/jffs2/scan.c
> +++ b/fs/jffs2/scan.c
> @@ -632,16 +632,17 @@ scan_more:
[SNIP]

hmm, heard nothing useful about this patch since I submitted it.
Just busy or don't like?

 Jocke




More information about the linux-mtd mailing list