summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-10-31 18:55:30 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-02-06 19:35:26 +0200
commita87f29cbbcbd5bd1e4990367cd18967e9bbeacff (patch)
tree637789d9f982c7b92d4ee0aafcb1a3060e35a628 /scripts
parentfef2deb31f6523203a3fa1af485a5f1fef19cf6b (diff)
downloadop-kernel-dev-a87f29cbbcbd5bd1e4990367cd18967e9bbeacff.zip
op-kernel-dev-a87f29cbbcbd5bd1e4990367cd18967e9bbeacff.tar.gz
UBI: always re-read in case of read failures
When the read operation fails, UBI tries to re-read several times in a hope that one of the subsequent reads may succeed. However, currently UBI re-reads only if MTD failed to read all data, but does not re-reads if all the data were read, but with an integrity error (-EBADMSB). This patch makes UBI to always re-try reading. This should be useful for reading NAND pages with unstable bits - re-reading may help to get correct data. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud