UBI/UBIFS interrupted write page handling
Matthieu CASTET
matthieu.castet at parrot.com
Tue Sep 28 12:06:53 EDT 2010
Artem Bityutskiy a écrit :
> On Tue, 2010-09-28 at 09:47 +0200, Matthieu CASTET wrote:
>> Artem Bityutskiy a écrit :
>>> On Sun, 2010-09-26 at 20:58 +0300, Artem Bityutskiy wrote:
>> That's better : interrupt erased page are not put anymore in corrupted list.
>> But I have problem with interrupt write :
>> this night the test crashed [1].
>
> Yeah, this should be fixed by forcing LEB refresh for the last LEBs of
> journal heads. This problem exists long time. I'll work on this and send
> you patches.
ok
>
> Then I'll push the patches to the linux-next. This means I'll re-base
> once again the master branch - will you survive such frequent
> re-basing :-) ?
I should. I rebased my bsp commit on top of linux-merge. So a git reset
--hard bsp_commit_top; git pull should handle it.
>
> We also have the outstanding gc_lnum problem - did you see it in new
> ubifs?
No, but the scenario/hardware is a bit different. I will try to
reproduce it this night.
>
> Also I wanted to add re-try logic to UBI read path, so that we could try
> to read several times if there is an ECC errors, because as you pointed,
> re-trying sometimes helps. However, this also needs a fix in mtd, which
> is currently in my l2 tree:
> http://git.infradead.org/users/dedekind/l2-mtd-2.6.git/commit/755e723d39ac6975e6488298e129284e30d74823
>
So this one need a manual merge ? Can't you include in ubi-2.6 ?
Matthieu
More information about the linux-mtd
mailing list