From: Richard Weinberger Date: Tue, 23 Sep 2014 17:29:05 +0000 (+0200) Subject: UBI: Fastmap: Ensure that only one fastmap work is scheduled X-Git-Tag: omap-for-v4.1/fixes-rc1~135^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19371d73c9bd31a8e634ec5a80fc19fcd7714481;p=pandora-kernel.git UBI: Fastmap: Ensure that only one fastmap work is scheduled 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: Richard Weinberger Reviewed-by: Tanya Brokhman Reviewed-by: Guido Martínez --- Reading git-diff-tree failed