<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://elinux.org/index.php?title=Add_checkpointing_or_logging_to_UBIFS&amp;feed=atom&amp;action=history</id>
		<title>Add checkpointing or logging to UBIFS - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=Add_checkpointing_or_logging_to_UBIFS&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Add_checkpointing_or_logging_to_UBIFS&amp;action=history"/>
		<updated>2013-05-26T00:57:08Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.22alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=Add_checkpointing_or_logging_to_UBIFS&amp;diff=32797&amp;oldid=prev</id>
		<title>Tim Bird: Created page with &quot;; Summary: Add checkpointing or logging to UBIFS  ; Proposer: Tim Bird  == Description == Currently, the UBI file system takes a long time to be ready for use, due to a badblock ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Add_checkpointing_or_logging_to_UBIFS&amp;diff=32797&amp;oldid=prev"/>
				<updated>2011-01-25T20:47:52Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;; Summary: Add checkpointing or logging to UBIFS  ; Proposer: Tim Bird  == Description == Currently, the UBI file system takes a long time to be ready for use, due to a badblock ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;; Summary: Add checkpointing or logging to UBIFS&lt;br /&gt;
&lt;br /&gt;
; Proposer: Tim Bird&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Currently, the UBI file system takes a long time to be ready for use,&lt;br /&gt;
due to a badblock scan that takes place during initialization of UBI&lt;br /&gt;
(the UBI attach operation).&lt;br /&gt;
The scan takes a time that is linearly proportional to the size of&lt;br /&gt;
flash.  As flash sizes grow, the delay caused by this scan becomes a&lt;br /&gt;
problem.&lt;br /&gt;
&lt;br /&gt;
It would be beneficial to eliminate the scan, or make it more scalable,&lt;br /&gt;
using some kind of checkpointing or logging.&lt;br /&gt;
&lt;br /&gt;
== Related work ==&lt;br /&gt;
* UBIFS&lt;br /&gt;
** http://en.wikipedia.org/wiki/UBIFS&lt;br /&gt;
** http://lwn.net/Articles/276025/&lt;br /&gt;
* UBI2&lt;br /&gt;
** see portions of http://www.mjmwired.net/kernel/Documentation/filesystems/ubifs.txt&lt;br /&gt;
* Mount times&lt;br /&gt;
** http://osl.sed.hu/wiki/ubifs/index.php/Mount_results&lt;br /&gt;
** http://elinux.org/images/f/f8/CELFJamboree30-UBIFS_update.pdf&lt;br /&gt;
&lt;br /&gt;
* This proposal was suggested last year, but the project was not done&lt;br /&gt;
** See http://elinux.org/CELF_Project_Proposal/UBIFS_mount_time_speedups&lt;br /&gt;
&lt;br /&gt;
=== UBI logging feature submitted by Samsung ===&lt;br /&gt;
A developer with Samsung (in India) proposed UBIL - UBI logging - to solve this problem, in April 2010.&lt;br /&gt;
* Initial announcement: http://lists.infradead.org/pipermail/linux-mtd/2010-February/029256.html&lt;br /&gt;
** performance improvement: http://git.infradead.org/users/brijesh/ubil_results/blob/da4f975b5a2fc5cb2f9398bcb6b4329ba7e8c770:/nand_mount_time.pdf&lt;br /&gt;
** patches in April, 2010: http://lists.infradead.org/pipermail/linux-mtd/2010-April/029573.html&lt;br /&gt;
&lt;br /&gt;
I seem to recall someone at the kernel summit (maybe Thomas) telling me that these patches&lt;br /&gt;
improved the speed, but still had scalability proportional to the flash size.&lt;br /&gt;
&lt;br /&gt;
== Scope ==&lt;br /&gt;
A rough estimate would be 3 months of development and test work, followed&lt;br /&gt;
by some work to mainline the changes upstream.&lt;br /&gt;
&lt;br /&gt;
== Contractor Candidates ==&lt;br /&gt;
* Thomas Gleixner&lt;br /&gt;
* Artem Bityutskiy&lt;br /&gt;
* Free Electrons&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Project proposals 2011]]&lt;/div&gt;</summary>
		<author><name>Tim Bird</name></author>	</entry>

	</feed>