diff options
author | Richard Weinberger <richard@nod.at> | 2019-07-25 22:46:01 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-09-15 21:55:19 +0200 |
commit | 8596813a117f61db2e74c449ea1436e63d096323 (patch) | |
tree | 6975f0a91a734ac507c5b451c2e6882527462c6b /drivers/zorro/zorro-driver.c | |
parent | cbc898d52cd11b23fd7c8079becbd8be742e78ce (diff) |
ubi: Don't do anchor move within fastmap area
To make sure that Fastmap can use a PEB within the first 64
PEBs, UBI moves blocks away from that area.
It uses regular wear-leveling for that job.
An anchor move can be triggered if no PEB is free in this area
or because of anticipation. In the latter case it can happen
that UBI decides to move a block but finds a free PEB
within the same area.
This case is in vain an increases only erase counters.
Catch this case and cancel wear-leveling if this happens.
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/zorro/zorro-driver.c')
0 files changed, 0 insertions, 0 deletions