[JFFS2] Speed up mount for directly-mapped NOR flash
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Tue, 27 Mar 2007 11:32:09 +0000 (13:32 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 17 Apr 2007 18:07:34 +0000 (14:07 -0400)
commitc2aecda79cd872679b9b11f9e59d797fb4c7d677
tree3e4faadfeaf51cd849592029f757503008720585
parent10731f83009e2556f98ffa5c7c2cbffe66dacfb3
[JFFS2] Speed up mount for directly-mapped NOR flash

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@transmode.se>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/scan.c