From: david.oberhollenzer@sigma-star.at Date: Thu, 26 Mar 2015 22:59:50 +0000 (+0100) Subject: UBI: power cut emulation for testing X-Git-Tag: omap-for-v4.1/fixes-rc1~135^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=502690674281a047abd45f81e64c498bc23a8bb3;p=pandora-kernel.git UBI: power cut emulation for testing 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 Signed-off-by: Richard Weinberger --- Reading git-diff-tree failed