commit | 41bdc602eca8738d6f3c71235744f72d888fe6b4 | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | Thu Oct 07 19:09:34 2010 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Oct 25 01:12:20 2010 +0100 |
tree | 93a747b3a9cab9fec548fef795d6fa4102b11558 | |
parent | 81cfc9f1f4ad8d335367bb393bd042cc45b00047 [diff] |
jffs2: Reduce excessive scan of empty blocks 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@transmode.se> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>