[PATCH 1/8] mtd: block2mtd: initialize writebufsize

Artem Bityutskiy dedekind1 at gmail.com
Mon Feb 6 04:07:56 EST 2012


On Sat, 2012-02-04 at 13:00 -0500, Jörn Engel wrote:
> > Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
> > Cc: stable at kernel.org [2.6.38+]
> > Cc: Joern Engel <joern at lazybastard.org>
> 
> Acked-by: Joern Engel <joern at lazybastard.org>

Added, thanks!

> From the description of 0e4ca7e it appears as if using a minimum of
> say 8 for ubifs recovery would have done the trick as well.  Oh well!

It actually need to know the maximum size of the corrupted area. In case
of block2mtd in theory, the whole 512 bytes may be corrupted, even
though I update 1 byte. For real CFI NORs - it is 16 bytes AFAIR.

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


More information about the linux-mtd mailing list