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

Commit 46b0caea authored by Richard Weinberger's avatar Richard Weinberger Committed by Nikhilesh Reddy
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.

CRs-Fixed: 975289
Change-Id: Ie0e79d583b8f56d84831e0eb740925232210c670
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>
Git-commit: 1cb8f9776c7dcadc57885c6653943511d282633b
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarNikhilesh Reddy <reddyn@codeaurora.org>
parent e2c9bd82
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