[PATCH] UBI: power cut emulation for testing

Richard Weinberger richard.weinberger at gmail.com
Thu Mar 26 01:55:29 PDT 2015


On Sun, Feb 1, 2015 at 12:10 PM,  <david.oberhollenzer at sigma-star.at> wrote:
> From: David Oberhollenzer <david.oberhollenzer at 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 at sigma-star.at>

Applied, thanks David!

-- 
Thanks,
//richard



More information about the linux-mtd mailing list