a UBIFS image makes task pdflush blocked > 120 seconds
dedekind1 at gmail.com
Tue Nov 17 03:25:18 EST 2009
On Mon, 2009-11-16 at 11:44 +0100, N. van Bolhuis wrote:
> > The only way to help from UBI side I see is to lessen the UBI background
> > thread's priority - you could try this. Or for the background
> > formatting, have a 'yield()' call in the UBI background thread.
> > Or we could have a 'nor_erase_quirk()' in the UBI background thread,
> > which would call yield() if the previous operation was "erase", and the
> > next one is also "erase". You could try this.
> > Do you have any other suggestions?
> No. Let's try the 'nor_erase_quirk()' solution.
Thinking about this more, I do not like using 'yield()'. JFFS2 had it in
the background thread, and there were many discussions about this, it
hurt one group of people, and helps another group. But it is hacky,
because depending on kernel version, 'yield()' may have different
effects. I do not like it.
Could you just try lowering the UBI bgt priority, and see if it helps?
I would not want to go for any yielding unless you report it does not
Just renice the BGT and see what happens, and report back please.
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd