lkml.org 
[lkml]   [2015]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] UBI: power cut emulation for testing
From
On Thu, Mar 26, 2015 at 9:55 AM, Richard Weinberger
<richard.weinberger@gmail.com> wrote:
> On Sun, Feb 1, 2015 at 12:10 PM, <david.oberhollenzer@sigma-star.at> wrote:
>> From: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
>>
>> Emulate random power cuts by switching device to ro after a number of
>> writes to allow simple power cut testing with nand-sim.
>>
>> Maximum and minimum number of successful writes before power cut and
>> what kind of writes (EC header, VID header or none) to interrupt
>> configurable via debugfs.
>>
>> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
>
> Applied, thanks David!

Sorry, had to drop this patch.
power_cut_counter is of type unsigned int, but you treat it as signed
integer by using negative
numbers. Please clarify and resend.

--
Thanks,
//richard


\
 
 \ /
  Last update: 2015-03-26 12:21    [W:0.067 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site