From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751094AbbJCV2W (ORCPT ); Sat, 3 Oct 2015 17:28:22 -0400 Received: from a.ns.miles-group.at ([95.130.255.143]:11949 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750883AbbJCV2V (ORCPT ); Sat, 3 Oct 2015 17:28:21 -0400 Subject: Re: [PATCH] ubi: fastmap: Implement produce_free_peb() To: linux-mtd@lists.infradead.org References: <1439328464-5521-1-git-send-email-richard@nod.at> Cc: linux-kernel@vger.kernel.org, joerg.krause@embedded.rocks From: Richard Weinberger Message-ID: <5610486D.7090207@nod.at> Date: Sat, 3 Oct 2015 23:28:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1439328464-5521-1-git-send-email-richard@nod.at> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 11.08.2015 um 23:27 schrieb Richard Weinberger: > 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. > > Reported-and-tested-by: Jörg Krause > Signed-off-by: Richard Weinberger Applied. Thanks, //richard