UBIFS recovery fail after power-cut

Artem Bityutskiy dedekind1 at gmail.com
Wed Apr 25 11:03:40 EDT 2012


On Tue, 2012-04-17 at 21:03 +0800, b w wrote:
> Thank you very much. I do not apply this patch: "UBIFS: use
> max_write_size during recovery". So the code is "skip = ALIGN(offs +
> UBIFS_CH_SZ, c->min_io_size) - offs;" the c->min_io_size is 8. When i
> modify MTD/UBI/UBIFS and apply that patch,use  c->max_write_size
> instead,this problem is solved.I think that patch not just an optimize
> but fix this problem. Should we use "fix" in the title of that patch?
> By the way, in my machine UBIFS_CH_SZ is 24 not 64.

Good to know that the issue is solved. WRT to re-naming the patch title
- may be you are right, but it is too late now.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120425/df1805e2/attachment.sig>


More information about the linux-mtd mailing list