<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mtd/ubi/wl.c, branch linux-2.6.34.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-02-01T13:16:37Z</updated>
<entry>
<title>UBI: simplify debugging return codes</title>
<updated>2010-02-01T13:16:37Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2010-01-20T08:28:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=adbf05e3ec6ea380ba145b6fa89d9125ed76eb98'/>
<id>urn:sha1:adbf05e3ec6ea380ba145b6fa89d9125ed76eb98</id>
<content type='text'>
UBI debugging functions were a little bit over-engineered and
returned more error codes than needed, and the callers had to
do useless checks. Simplify the return codes.

Impact: only debugging code is affected, which means that for
        non-developers this is a no-op patch.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: remove bogus debugging checks</title>
<updated>2009-07-05T15:47:05Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2009-06-29T12:58:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1398788fe7b730db10e97dcb9f838603e41922d5'/>
<id>urn:sha1:1398788fe7b730db10e97dcb9f838603e41922d5</id>
<content type='text'>
The 'paranoid_check_empty()' is bogus because, which is easilly
seen on NOR flash, which has long erase cycles, and which may
easilly end-up with half-erased eraseblocks. In this case the
paranoid check fails. I is just wrong to assume that PEBs which
do not have EC headers always contain all 0xFF. Such assumption
should not be made on the I/O level, which is quite low.

Thus, just kill the check.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: add empty eraseblocks verification</title>
<updated>2009-07-05T15:47:03Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2009-06-28T16:16:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40a71a87fa8e0cb3ec0fca4d152263734b203eb2'/>
<id>urn:sha1:40a71a87fa8e0cb3ec0fca4d152263734b203eb2</id>
<content type='text'>
This patch adds code which makes sure eraseblocks contain all 0xFF
bytes before starting using them. The verification is done only when
debugging checks are enabled.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: fix multiple spelling typos</title>
<updated>2009-06-10T13:13:27Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2009-06-08T16:28:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=815bc5f8fe516f55291aef90f2142073821e7a9c'/>
<id>urn:sha1:815bc5f8fe516f55291aef90f2142073821e7a9c</id>
<content type='text'>
Some of the typos were indicated by Adrian Hunter,
some by 'aspell'.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: fix kmem_cache_free on error patch</title>
<updated>2009-06-10T13:13:27Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2009-06-08T16:28:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=21d08bbcb19d9cdef8ab5b584f25b50d842068e9'/>
<id>urn:sha1:21d08bbcb19d9cdef8ab5b584f25b50d842068e9</id>
<content type='text'>
'kmem_cache_free()' oopeses if NULL is passed, and there is
one error-path place where UBI may call it with NULL object.
This problem was pointed to by Adrian Hunter.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: print amount of reserved PEBs</title>
<updated>2009-06-09T15:49:51Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2009-06-08T13:52:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=52b605d107de72c1d3385a3df972e79fb5befa4c'/>
<id>urn:sha1:52b605d107de72c1d3385a3df972e79fb5befa4c</id>
<content type='text'>
When marking a PEB as bad, print how many PEBs are left reserved.
This is very useful information.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: improve messages in the WL worker</title>
<updated>2009-06-08T10:05:43Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2009-06-08T09:49:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c259a52fa6ab46841a6094434cd0d752e854180'/>
<id>urn:sha1:9c259a52fa6ab46841a6094434cd0d752e854180</id>
<content type='text'>
Print not only the PEB number, but also the LEB number and volume id,
which is very useful for bug hunting.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: do not switch to R/O mode on read errors</title>
<updated>2009-06-02T10:53:35Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2009-05-24T11:13:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b86a2c56e512f46d140a4bcb4e35e8a7d4a99a4b'/>
<id>urn:sha1:b86a2c56e512f46d140a4bcb4e35e8a7d4a99a4b</id>
<content type='text'>
This patch improves UBI errors handling. ATM UBI switches to
R/O mode when the WL worker fails to read the source PEB.
This means that the upper layers (e.g., UBIFS) has no
chances to unmap the erroneous PEB and fix the error.
This patch changes this behaviour and makes UBI put PEBs
like this into a separate RB-tree, thus preventing the
WL worker from hitting the same read errors again and
again.

But there is a 10% limit on a maximum amount of PEBs like this.
If there are too much of them, UBI switches to R/O mode.

Additionally, this patch teaches UBI not to panic and
switch to R/O mode if after a PEB has been copied, the
target LEB cannot be read back. Instead, now UBI cancels
the operation and schedules the target PEB for torturing.

The error paths has been tested by ingecting errors
into 'ubi_eba_copy_leb()'.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: fix and clean-up error paths in WL worker</title>
<updated>2009-06-02T10:53:35Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2009-05-24T08:58:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=87960c0b12d0c5a0b37e0c79aef77aa1a0b10d44'/>
<id>urn:sha1:87960c0b12d0c5a0b37e0c79aef77aa1a0b10d44</id>
<content type='text'>
This patch fixes the error path in the WL worker - in same cases
UBI oopses when 'goto out_error' happens and e1 or e2 are NULL.
This patch also cleans up the error paths a little. And I have
tested nearly all error paths in the WL worker.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: introduce new constants</title>
<updated>2009-06-02T10:53:35Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2009-05-23T13:04:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=90bf0265e5b0d561f215a69bb7a46c4071b2c93b'/>
<id>urn:sha1:90bf0265e5b0d561f215a69bb7a46c4071b2c93b</id>
<content type='text'>
This patch is a clean-up and a preparation for the following
patches. It introduece constants for the return values of the
'ubi_eba_copy_leb()' function.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
</feed>
