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:Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by:
Richard Weinberger <richard@nod.at> Git-commit: 1cb8f9776c7dcadc57885c6653943511d282633b Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by:
Nikhilesh Reddy <reddyn@codeaurora.org>
Loading
Please register or sign in to comment