<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mtd/ubi/vmt.c, branch linux-3.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-05-21T08:34:41Z</updated>
<entry>
<title>UBI: modify ubi_wl_flush function to clear work queue for a lnum</title>
<updated>2012-05-21T08:34:41Z</updated>
<author>
<name>Joel Reardon</name>
</author>
<published>2012-05-20T19:27:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=62f384552b6756cf1ea71f8762d1e97dc77dbd90'/>
<id>urn:sha1:62f384552b6756cf1ea71f8762d1e97dc77dbd90</id>
<content type='text'>
This patch modifies ubi_wl_flush to force the erasure of
particular volume id / logical eraseblock number pairs. Previous functionality
is preserved when passing UBI_ALL for both values. The locations where ubi_wl_flush
were called are appropriately changed: ubi_leb_erase only flushes for the
erased LEB, and ubi_create_volume forces only flushing for its volume id.
External code can call this new feature via the new function ubi_flush() added
to kapi.c, which simply passes through to ubi_wl_flush().

This was tested by disabling the call to do_work in ubi thread, which results
in the work queue remaining unless explicitly called to remove. UBIFS was
changed to call ubifs_leb_change 50 times for four different LEBs. Then the
new function was called to clear the queue: passing wrong volume ids / lnum,
correct ones, and finally UBI_ALL for both to ensure it was finally all
cleard. The work queue was dumped each time and the selective removal
of the particular LEB numbers was observed. Extra checks were enabled and
ubifs's integck was also run. Finally, the drive was repeatedly filled and
emptied to ensure that the queue was cleared normally.

Artem: amended the patch.

Signed-off-by: Joel Reardon &lt;reardonj@inf.ethz.ch&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: get rid of dbg_err</title>
<updated>2012-05-20T17:26:00Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-05-16T15:39:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2986827d5d0759788d00f3759bcd46fc28f96c5'/>
<id>urn:sha1:e2986827d5d0759788d00f3759bcd46fc28f96c5</id>
<content type='text'>
This patch removes the 'dbg_err()' macro and we now use 'ubi_err' instead.
The idea of 'dbg_err()' was to compile out some error message to make the
binary a bit smaller - but I think it was a bad idea.

Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: more of clean-up terminology for self-checks</title>
<updated>2012-05-20T17:26:00Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-05-16T15:29:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7bf523ae252d654f1fa85c5e8759f221afe1c593'/>
<id>urn:sha1:7bf523ae252d654f1fa85c5e8759f221afe1c593</id>
<content type='text'>
We have the "sefl-check" feature in UBI, but for historical reasons many
corresponding functions and commentaries in the code use term "paranoid check"
instead. Let's clean this up and use "self-check" everywhere.

This patch renames functions, amends messages and kills several redundant
debugging messages.

Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: remove Kconfig debugging option</title>
<updated>2012-05-20T17:26:00Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-05-16T15:09:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa44d1d35f3485e0acea0f22e41cb472d2c99858'/>
<id>urn:sha1:aa44d1d35f3485e0acea0f22e41cb472d2c99858</id>
<content type='text'>
This patch kills the UBI debugging Kconfig option completely and makes all the
debugging stuff to be always compiled-in. It was pain in the neck to maintain
this useless option because all users I am aware of have debugging enabled
anyway - how else will you diagnose errors otherwise?

Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: rename ubi_dbg_dump_vtbl_record</title>
<updated>2012-05-20T17:25:59Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-05-16T14:56:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1f021e1de56f79cb4575b14f9ebf1ffb9dc9db0b'/>
<id>urn:sha1:1f021e1de56f79cb4575b14f9ebf1ffb9dc9db0b</id>
<content type='text'>
I am going to remove the "UBI debugging" compilation option and make the
debugging stuff to be always compiled it. This patch is a preparation
which renames 'ubi_dbg_dump_vtbl_record()' to 'ubi_dump_vtbl_record()'.

Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: rename ubi_dbg_dump_vol_info</title>
<updated>2012-05-20T17:25:59Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-05-16T14:53:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=766381f049100db0763e1a930a7b9d16632aa49c'/>
<id>urn:sha1:766381f049100db0763e1a930a7b9d16632aa49c</id>
<content type='text'>
I am going to remove the "UBI debugging" compilation option and make the
debugging stuff to be always compiled it. This patch is a preparation
which renames 'ubi_dbg_dump_vol_info()' to 'ubi_dump_vol_info()'.

Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mtd: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed</title>
<updated>2011-10-31T23:31:11Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2011-07-10T16:43:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3bcc0179ab8145615a3b409d652cad1395fb7f3'/>
<id>urn:sha1:f3bcc0179ab8145615a3b409d652cad1395fb7f3</id>
<content type='text'>
These two common macros will be no longer present everywhere.
Call out the include needs of them explicitly where required.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>UBI: use debugfs for the extra checks knobs</title>
<updated>2011-06-01T08:21:47Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2011-05-18T11:53:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2a734bb8d502b645c061fa329e87c5d651498e68'/>
<id>urn:sha1:2a734bb8d502b645c061fa329e87c5d651498e68</id>
<content type='text'>
This patch introduces debugfs support to UBI. All the UBI stuff is kept in the
"ubi" debugfs directory, which contains per-UBI device "ubi/ubiX"
sub-directories, containing debugging files. This file also creates
"ubi/ubiX/chk_gen" and "ubi/ubiX/chk_io" knobs for switching general and I/O
extra checks on and off. And it removes the 'debug_chks' UBI module parameters.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: do not compare array with NULL</title>
<updated>2011-04-05T08:08:58Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2011-03-25T16:48:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e5133cc757912e7ba2bfbbfb384667707f45ec3'/>
<id>urn:sha1:6e5133cc757912e7ba2bfbbfb384667707f45ec3</id>
<content type='text'>
Coverity spotted that UBI debugging code tries to compare
an array and NULL, which obviously makes little sense. Kill
this check.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: make self-checks dynamic</title>
<updated>2011-03-16T11:50:16Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2011-03-14T16:17:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=92d124f5314913a21f7fa98b22ee457dab171edd'/>
<id>urn:sha1:92d124f5314913a21f7fa98b22ee457dab171edd</id>
<content type='text'>
This patch adds a possibility to dynamically switch UBI self-checks
on and off, instead of toggling them compile-time from the configuration
menu. This is much more flexible, and consistent with UBIFS, and this
also simplifies UBI Kconfig menu and the code.

This patch introduces two levels of self-checks - general, which
includes all self-checks which are relatively fast, and I/O, which
includes write-verify checks and erase-verify checks, which are
relatively slow and involve flash I/O.

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