lkml.org 
[lkml]   [2015]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V2] UBI: power cut emulation for testing
Am 05.04.2015 um 22:25 schrieb Pavel Machek:
> I guess so. So maybe warning in the documentation somewhere that real
> hardware is nastier than designed-to-be-nasty emulation would be
> nice..?

Yeah, that's a good idea. David, can you please create a patch
against mtd-www.git?
Please also cover the existing powercut emulation of UBIFS.

The reason why David added emulation for UBI was to stress-test
UBI fastmap. The crucial operation of UBI changing the mapping between
LEB and PEBs. This is why this emulation intercepts writes to the UBI
VID header. For the sake of completeness interception of EC writes
is also possible.

Thanks,
//richard


\
 
 \ /
  Last update: 2015-04-05 23:01    [W:0.030 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site