summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/mkvol_basic.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-07-26 15:40:32 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-07-26 15:40:32 +0300
commit6624ef2ba2e9687929c53fe838910786270cd5c9 (patch)
tree28514674f90840ab2614c728b1d51699db2fdb8d /tests/ubi-tests/mkvol_basic.c
parent5cf9d3cf66dd32bd5a348e0e9805c5d7a3c34573 (diff)
ubiformat: torture eraseblocks on write errors
When fail to write to PEBs, and the error is EIO, torture the PEB before marking it as bad. Basically, the code is copied from the kernel UBI. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/mkvol_basic.c')
0 files changed, 0 insertions, 0 deletions