<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/ubifs/commit.c, branch linux-3.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-08-31T14:32:58Z</updated>
<entry>
<title>UBIFS: print less</title>
<updated>2012-08-31T14:32:58Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-08-27T13:56:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3668b70fcf1fdc6799abf15f70fe3f50f407ec82'/>
<id>urn:sha1:3668b70fcf1fdc6799abf15f70fe3f50f407ec82</id>
<content type='text'>
UBIFS 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>
<entry>
<title>UBIFS: use __aligned() attribute</title>
<updated>2012-08-31T14:32:57Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-08-27T10:48:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=43457c60c8314835412848a9df25d4ba2f49f0ed'/>
<id>urn:sha1:43457c60c8314835412848a9df25d4ba2f49f0ed</id>
<content type='text'>
.. instead of __attribute__((aligned())).

Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBIFS: get rid of dbg_err</title>
<updated>2012-05-16T17:11:23Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-05-16T17:11:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a6aae4dd0ffad299a33d122f8a339b399bee5381'/>
<id>urn:sha1:a6aae4dd0ffad299a33d122f8a339b399bee5381</id>
<content type='text'>
This patch removes the 'dbg_err()' macro and we now use 'ubifs_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>UBIFS: remove Kconfig debugging option</title>
<updated>2012-05-16T16:53:46Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-05-16T16:53:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f70b7e52aa23c9aea5346b9730b402fb55f9079b'/>
<id>urn:sha1:f70b7e52aa23c9aea5346b9730b402fb55f9079b</id>
<content type='text'>
Have the debugging stuff always compiled-in instead. It simplifies maintanance
a lot.

Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBIFS: rename dumping functions</title>
<updated>2012-05-16T16:15:56Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-05-16T16:15:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=edf6be245fd34a4438646375cecb11f5feb92646'/>
<id>urn:sha1:edf6be245fd34a4438646375cecb11f5feb92646</id>
<content type='text'>
This commit re-names all functions which dump something from "dbg_dump_*()" to
"ubifs_dump_*()". This is done for consistency with UBI and because this way it
will be more logical once we remove the debugging sompilation option.

Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBIFS: lessen amount of debugging check types</title>
<updated>2011-07-04T07:54:28Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2011-06-03T05:53:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8d7819b4af697eec45339cc24db7c3fe45fea0e7'/>
<id>urn:sha1:8d7819b4af697eec45339cc24db7c3fe45fea0e7</id>
<content type='text'>
We have too many different debugging checks - lessen the amount by merging all
index-related checks into one. At the same time, move the "force in-the-gap"
test to the "index checks" class, because it is too heavy for the "general"
class.

This patch merges TNC, Old index, and Index size check and calles this just
"index checks".

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBIFS: introduce helper functions for debugging checks and tests</title>
<updated>2011-07-04T07:54:28Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2011-06-03T05:31:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b1844a8c934723134ee1ff313e51d0d281cdef1'/>
<id>urn:sha1:2b1844a8c934723134ee1ff313e51d0d281cdef1</id>
<content type='text'>
This patch introduces helper functions for all debugging checks, so instead of
doing

if (!(ubifs_chk_flags &amp; UBIFS_CHK_GEN))

we now do

if (!dbg_is_chk_gen(c))

This is a preparation to further changes where the flags will go away, and
we'll need to only change the helper functions, but the code which utilizes
them won't be touched.

At the same time this patch removes 'dbg_force_in_the_gaps()',
'dbg_force_in_the_gaps_enabled()', and dbg_failure_mode helpers for
consistency.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBIFS: harmonize znode flag helpers</title>
<updated>2011-07-04T07:54:27Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2011-05-30T11:45:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f42eed7cba7f83197b0ffbb023e7d89a0b2fd71d'/>
<id>urn:sha1:f42eed7cba7f83197b0ffbb023e7d89a0b2fd71d</id>
<content type='text'>
We have 3 znode flags: cow, obsolete, dirty. For the last flag we have a
'ubifs_zn_dirty()' helper function, but for the other 2 flags we use
'test_bit()' directly.

This patch makes the situation more consistent and introduces helpers for the
other 2 flags: 'ubifs_zn_cow()' and 'ubifs_zn_obsolete()'.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBIFS: return EROFS in case of broken commit</title>
<updated>2011-07-04T07:54:26Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2011-05-26T13:57:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=549c999a768a7a144c60a0faa58f34c48f39112b'/>
<id>urn:sha1:549c999a768a7a144c60a0faa58f34c48f39112b</id>
<content type='text'>
If commit failed and it is in broken state, UBIFS switches to R/O mode. Most
operations return -EROFS in this case, except of commit which returns -EINVAL.
Make it return -EROFS too for consistency. This is also important for our power
cut emulation testing.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBIFS: introduce a separate structure for budgeting info</title>
<updated>2011-05-13T16:23:53Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2011-03-29T15:04:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b137545c44fc0c80fb778abb0c582bda5601e8f8'/>
<id>urn:sha1:b137545c44fc0c80fb778abb0c582bda5601e8f8</id>
<content type='text'>
This patch separates out all the budgeting-related information
from 'struct ubifs_info' to 'struct ubifs_budg_info'. This way the
code looks a bit cleaner. However, the main driver for this is
that we want to save budgeting information and print it later,
so a separate data structure for this is helpful.

This patch is a preparation for the further debugging output
improvements.

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