Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 647d0c30 authored by Richard Weinberger's avatar Richard Weinberger Committed by Sasha Levin
Browse files

UBI: Fastmap: Ensure that only one fastmap work is scheduled



[ Upstream commit 19371d73c9bd31a8e634ec5a80fc19fcd7714481 ]

If the WL pool runs out of PEBs we schedule a fastmap write
to refill it as soon as possible.
Ensure that only one at a time is scheduled otherwise we might end in
a fastmap write storm because writing the fastmap can schedule another
write if bitflips are detected.

Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Reviewed-by: default avatarTanya Brokhman <tlinder@codeaurora.org>
Reviewed-by: default avatarGuido Martínez <guido@vanguardiasur.com.ar>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 5bad4ec6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment