On Tue, Apr 8, 2014 at 3:44 PM, Bityutskiy, Artem <artem.bityuts...@intel.com> wrote: > On Tue, 2014-04-08 at 16:42 +0300, Artem Bityutskiy wrote: >> On Tue, 2014-04-01 at 11:01 +0300, Tanya Brokhman wrote: >> > At first mount it's possible that there are not enough free PEBs since >> > there are PEB's pending to be erased. In such scenario, fm_pool (which is >> > the pool from which user required PEBs are allocated) will be empty. >> > Try fixing the above described situation by synchronously performing >> > pending erase work, thus produce another free PEB. >> > >> > Signed-off-by: Tatyana Brokhman <tlin...@codeaurora.org> >> >> Pushed to linux-ubifs.git / master, thanks! > > Oh, sorry, this one I actually _dropped_. Would you please rather > re-structure the code to avoid duplication. E.g., do what Richard > suggested.
Tatyana, can you also please find out how many PEBs you need? Strictly speaking we need only one (which should be produced by __wl_get_peb(). I want to make sure that we're not just papering over an issue. :-) -- Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/