]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitce3c2951bb176d8e4465cb432519937121296a9c
tree3e4faadfeaf51cd849592029f757503008720585
parent5524c75c54965416b48ba53706b9c33c8cf2a0c9
[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