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

Skip to content
Commit 1cb8f977 authored by Richard Weinberger's avatar Richard Weinberger
Browse files

ubi: fastmap: Implement produce_free_peb()



If fastmap requests a free PEB for a pool and UBI is busy
with erasing PEBs we need to offer a function to wait for one.
We can reuse produce_free_peb() from the non-fastmap WL code
but with different locking semantics.

Cc: stable@vger.kernel.org # 4.1.x-
Reported-and-tested-by: default avatarJörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent be186cc4
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