Searched hist:"54 a883840be500cbcda4903118dd571e4532e83f" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/fs/jffs2/ |
| H A D | jffs2_1pass.c | 54a883840be500cbcda4903118dd571e4532e83f Wed Jul 01 04:38:28 UTC 2015 Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz> JFFS2: Use CLEANMARKER to reduce scanning time
If a sector has a CLEANMARKER at the beginning, it indicates that the entire sector has been erased. Therefore, if this is found, we can skip the entire block. This was not being done before this patch.
The code now does the same as the kernel does when encountering a CLEANMARKER. It still checks that the next few words are FFFFFFFF, and if so, the block is assumed to be empty, and so is skipped.
Signed-off-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
|