summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorMark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>2015-07-01 16:38:28 +1200
committerTom Rini <trini@konsulko.com>2015-08-12 20:47:32 -0400
commit54a883840be500cbcda4903118dd571e4532e83f (patch)
tree69c06c7ebbcaac2d4ee75d7e2ab313b76512643b /fs/ubifs
parent081adef7e61be60c1328098cd19cb5aa6ceda21f (diff)
downloadtalos-obmc-uboot-54a883840be500cbcda4903118dd571e4532e83f.tar.gz
talos-obmc-uboot-54a883840be500cbcda4903118dd571e4532e83f.zip
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>
Diffstat (limited to 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud