[PATCH] mtd: docg3 fix in-middle of blocks reads

Artem Bityutskiy dedekind1 at gmail.com
Fri Apr 13 13:30:08 EDT 2012


On Mon, 2012-04-09 at 13:19 +0200, Robert Jarzmik wrote:
> Corner case reads do not work, and return false data and
> ECC. This case is typically seen in a ubifs usage, with a
> read of type:
>  - docg3 docg3: doc_read_oob(from=14882415, mode=1,
>  data=(c30eca40:12), oob=(  (null):0))
> 
> This results in the following reads:
>  - docg3 docg3: doc_read_data_area(buf=  (null), len=111)
>  - docg3 docg3: doc_read_data_area(buf=c30eca40, len=12)
>  - docg3 docg3: doc_read_data_area(buf=  (null), len=389)
>  - docg3 docg3: doc_read_data_area(buf=  (null), len=0)
>  - docg3 docg3: doc_read_data_area(buf=  (null), len=16)

I usually go my e-mails bottom-up, but since you pinged me I jumped at
your patch right away. Pushed to l2-mtd.git, thanks!

-- 
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/20120413/0fd234cb/attachment.sig>


More information about the linux-mtd mailing list