<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mtd/ubi/wl.c, branch linux-3.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-10-03T16:42:46Z</updated>
<entry>
<title>UBI: fix refill_wl_user_pool()</title>
<updated>2013-10-03T16:42:46Z</updated>
<author>
<name>Richard Weinberger</name>
</author>
<published>2013-09-28T13:55:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fb10e4d418c73096ec61d8e80e2af282a5891039'/>
<id>urn:sha1:fb10e4d418c73096ec61d8e80e2af282a5891039</id>
<content type='text'>
If no free PEBs are available refill_wl_user_pool() must not
return with -ENOSPC immediately.
It has to block till produce_free_peb() produced a free PEB.

Reported-and-Tested-by: Richard Genoud &lt;richard.genoud@gmail.com&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: Fix PEB leak in wear_leveling_worker()</title>
<updated>2013-08-19T15:15:11Z</updated>
<author>
<name>Richard Weinberger</name>
</author>
<published>2013-08-19T06:48:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5ef4414f4bc26a19cfd5cd11aee9697a863e4d51'/>
<id>urn:sha1:5ef4414f4bc26a19cfd5cd11aee9697a863e4d51</id>
<content type='text'>
get_peb_for_wl() removes the PEB from the free list.
If the WL subsystem detects that no wear leveling is needed
it cancels the operation and drops the gained PEB.
In this case we have to put the PEB back into the free list.

This issue was introduced with commit ed4b7021c
(UBI: remove PEB from free tree in get_peb_for_wl()).

Cc: &lt;stable@vger.kernel.org&gt; # 3.7.x
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'upstream-3.8-rc1' of git://git.infradead.org/linux-ubi</title>
<updated>2012-12-20T15:39:03Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2012-12-20T15:39:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=85d5b70d8a0681a362d075bf0d19b4ee8c6767ee'/>
<id>urn:sha1:85d5b70d8a0681a362d075bf0d19b4ee8c6767ee</id>
<content type='text'>
Pull UBI update from Artem Bityutskiy:
 "Nothing exciting, just clean-ups and nicification.  Oh, and one small
  optimization which makes UBI to use less RAM."

* tag 'upstream-3.8-rc1' of git://git.infradead.org/linux-ubi:
  UBI: embed ubi_debug_info field in ubi_device struct
  UBI: introduce helpers dbg_chk_{io, gen}
  UBI: replace memcpy with struct assignment
  UBI: remove spurious comment
  UBI: gluebi: rename misleading variables
  UBI: do not allocate the memory unnecessarily
  UBI: use list_move_tail instead of list_del/list_add_tail
</content>
</entry>
<entry>
<title>UBI: introduce helpers dbg_chk_{io, gen}</title>
<updated>2012-12-10T11:38:59Z</updated>
<author>
<name>Ezequiel Garcia</name>
</author>
<published>2012-11-28T12:18:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64575574f26d7969713ede9bde750c979da4037e'/>
<id>urn:sha1:64575574f26d7969713ede9bde750c979da4037e</id>
<content type='text'>
With this patch code is a bit more readable and there's no
generated code or functionality impact.
Furthermore, this abstracts implementation details and
will allow to change ubi_debug_info in a less invasive way.

Signed-off-by: Ezequiel Garcia &lt;elezegarcia@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: dont call ubi_self_check_all_ff() in __wl_get_peb()</title>
<updated>2012-12-04T14:04:31Z</updated>
<author>
<name>Richard Weinberger</name>
</author>
<published>2012-12-03T19:57:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=894aef215775b56b725e9dde856b7a8b091ddfcc'/>
<id>urn:sha1:894aef215775b56b725e9dde856b7a8b091ddfcc</id>
<content type='text'>
As ubi_self_check_all_ff() might sleep we are not allowed
to call it from atomic context.
For now we call it only from ubi_wl_get_peb().
There are some code paths where it would also make sense,
but these paths are currently atomic and only enabled
when fastmap is used.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: remove PEB from free tree in get_peb_for_wl()</title>
<updated>2012-12-04T14:04:16Z</updated>
<author>
<name>Richard Weinberger</name>
</author>
<published>2012-12-03T19:57:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed4b7021cb51fe5a0f260df03298709347a26967'/>
<id>urn:sha1:ed4b7021cb51fe5a0f260df03298709347a26967</id>
<content type='text'>
If UBI is built without fastmap, get_peb_for_wl() has to
remove the PEB manially from the free tree.
Otherwise the requested PEB lives in two trees.

Reported-by: Zach Sadecki &lt;zsadecki@itwatchdogs.com&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: remove spurious comment</title>
<updated>2012-11-30T11:54:41Z</updated>
<author>
<name>Ezequiel Garcia</name>
</author>
<published>2012-11-21T15:46:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38f92cca8aae5b2e4ff2700c47eee0b807e22980'/>
<id>urn:sha1:38f92cca8aae5b2e4ff2700c47eee0b807e22980</id>
<content type='text'>
This line of comment looks completely bogus.

It was introduced in:
commit d99383b00eba9c6ac3dea462d718b2849012ee03
Author: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Date:   Wed May 18 14:47:34 2011 +0300

    UBI: change the interface of a debugging check function

Remove it.

Signed-off-by: Ezequiel Garcia &lt;elezegarcia@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: Add fastmap support to the WL sub-system</title>
<updated>2012-10-03T09:29:38Z</updated>
<author>
<name>Richard Weinberger</name>
</author>
<published>2012-09-26T15:51:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8199b901a31b6e89b63842643f644fc05b403b20'/>
<id>urn:sha1:8199b901a31b6e89b63842643f644fc05b403b20</id>
<content type='text'>
To make fastmap possible the WL sub-system needs some
changes.
Mostly to support fastmaps pools.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: Add fastmap stuff to ubi.h</title>
<updated>2012-10-03T09:29:37Z</updated>
<author>
<name>Richard Weinberger</name>
</author>
<published>2012-09-26T15:51:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5638b33abffd967dda4f984a247925b7af38b23d'/>
<id>urn:sha1:5638b33abffd967dda4f984a247925b7af38b23d</id>
<content type='text'>
This patch adds fastmap specific data structures to ubi.h.
It moves also struct ubi_work to ubi.h as it is now needed
for more than one c file.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: print less</title>
<updated>2012-09-04T06:39:02Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-08-27T14:14:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=719bb84017fcfc949a77e150dd5b045e90a4ebc9'/>
<id>urn:sha1:719bb84017fcfc949a77e150dd5b045e90a4ebc9</id>
<content type='text'>
UBI currently prints a lot of information when it mounts a volume, which
bothers some people. Make it less chatty - print only important information
by default.

Get rid of 'dbg_msg()' macro completely.

Reported-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
</feed>
