<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mtd/ubi/kapi.c, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-07-24T10:34:45Z</updated>
<entry>
<title>UBI: fix and re-work debugging stuff</title>
<updated>2008-07-24T10:34:45Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2008-07-16T14:40:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c8566350a3229ca505b84313c65d1403b4d0cbfc'/>
<id>urn:sha1:c8566350a3229ca505b84313c65d1403b4d0cbfc</id>
<content type='text'>
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: add ubi_sync() interface</title>
<updated>2008-07-24T10:32:56Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2008-07-10T15:38:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5bf6190417cbbf80443a9f71c65b653e13e9982'/>
<id>urn:sha1:a5bf6190417cbbf80443a9f71c65b653e13e9982</id>
<content type='text'>
To flush MTD device caches.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: avoid unnecessary division operations</title>
<updated>2008-07-24T10:32:54Z</updated>
<author>
<name>Kyungmin Park</name>
</author>
<published>2008-05-22T01:32:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cadb40ccc16a26a738f1cbc963e35b21edd93e79'/>
<id>urn:sha1:cadb40ccc16a26a738f1cbc963e35b21edd93e79</id>
<content type='text'>
UBI already checks that @min io size is the power of 2 at io_init.
It is save to use bit operations then.

Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: fix warnings</title>
<updated>2008-01-25T14:41:24Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2008-01-16T10:15:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae616e1be13599c3b64e544ebe99e69ea851e99c'/>
<id>urn:sha1:ae616e1be13599c3b64e544ebe99e69ea851e99c</id>
<content type='text'>
drivers/mtd/ubi/cdev.c: In function ‘vol_cdev_read’:
drivers/mtd/ubi/cdev.c:187: warning: unused variable ‘vol_id’
CC [M]  drivers/mtd/ubi/kapi.o
drivers/mtd/ubi/kapi.c: In function ‘ubi_leb_erase’:
drivers/mtd/ubi/kapi.c:483: warning: unused variable ‘vol_id’
drivers/mtd/ubi/kapi.c: In function ‘ubi_leb_unmap’:
drivers/mtd/ubi/kapi.c:544: warning: unused variable ‘vol_id’
drivers/mtd/ubi/kapi.c: In function ‘ubi_leb_map’:
drivers/mtd/ubi/kapi.c:582: warning: unused variable ‘vol_id’

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: use separate mutex for volumes checking</title>
<updated>2007-12-26T17:15:17Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2007-12-25T16:13:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=783b273afab43437dca731a229d53d72faf77fd3'/>
<id>urn:sha1:783b273afab43437dca731a229d53d72faf77fd3</id>
<content type='text'>
Introduce a separate mutex which serializes volumes checking,
because we cammot really use volumes_mutex - it cases reverse
locking problems with mtd_tbl_mutex when gluebi is used -
thanks to lockdep.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: add UBI devices reference counting</title>
<updated>2007-12-26T17:15:17Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2007-12-17T15:37:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e73f4459d969bb266f03dd4cbe21bdba8cb2732c'/>
<id>urn:sha1:e73f4459d969bb266f03dd4cbe21bdba8cb2732c</id>
<content type='text'>
This is one more step on the way to "removable" UBI devices. It
adds reference counting for UBI devices. Every time a volume on
this device is opened - the device's refcount is increased. It
is also increased if someone is reading any sysfs file of this
UBI device or of one of its volumes.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: introduce volume refcounting</title>
<updated>2007-12-26T17:15:16Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2007-12-17T13:42:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d05c77a816974c09f8c7e8f48e5b9f7b59dafdf3'/>
<id>urn:sha1:d05c77a816974c09f8c7e8f48e5b9f7b59dafdf3</id>
<content type='text'>
Add ref_count field to UBI volumes and remove weired "vol-&gt;removed"
field. This way things are better understandable and we do not have
to do whold show_attr operation under spinlock.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: fix and cleanup volume opening functions</title>
<updated>2007-12-26T17:15:15Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2007-12-17T12:22:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=35ad5fb76cc0a08e14068408b064103439feee36'/>
<id>urn:sha1:35ad5fb76cc0a08e14068408b064103439feee36</id>
<content type='text'>
This patch fixes error codes of the functions - if the device number
is out of range, -EINVAL should be returned. It also removes unneeded
try_module_get call from the open by name function.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: get device when opening volume</title>
<updated>2007-12-26T17:15:15Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2007-12-17T11:09:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=450f872a8e1763c883c9f723e6937b7ed223e6d3'/>
<id>urn:sha1:450f872a8e1763c883c9f723e6937b7ed223e6d3</id>
<content type='text'>
When a volume is opened, get its kref via get_device() call.
And put the reference when closing the volume. With this, we
may have a bit saner volume delete.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: tweak volumes locking</title>
<updated>2007-12-26T17:15:15Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2007-12-17T10:46:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cae0a77125467c42f0918e78457913ee4a2f925b'/>
<id>urn:sha1:cae0a77125467c42f0918e78457913ee4a2f925b</id>
<content type='text'>
Transform vtbl_mutex to volumes_mutex - this just makes code
easier to understand.

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