commit | 9723152ad1efb844445e63f052e6d39e85e11649 | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | Wed May 19 17:16:11 2010 +0100 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Wed May 19 17:16:11 2010 +0100 |
tree | 9abe25074d3c64f06859f0cba3b33c758a91d090 | |
parent | 64a5c2eb82d2a626116fde8a0ea3bb39a3f4f233 [diff] |
jffs2: Stop triggering block erases from jffs2_write_super() This is the culmination of this sequence of patches. By moving the block erasing from jffs2_write_super() into the GC code, we avoid huge latencies on unmount where it waits for _all_ pending blocks to be erased, and we allow better control for time-critical tasks by stopping the GC thread. Signed-off-by: Joakim Tjernlund <joakim.tjernlund@transmode.se> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>