linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC v7] UBI: Fastmap support (aka checkpointing)
@ 2012-05-23 11:06 Richard Weinberger
  2012-05-23 11:06 ` [PATCH] [RFC] UBI: Implement Fastmap support Richard Weinberger
  2012-05-26 12:41 ` [RFC v7] UBI: Fastmap support (aka checkpointing) Artem Bityutskiy
  0 siblings, 2 replies; 16+ messages in thread
From: Richard Weinberger @ 2012-05-23 11:06 UTC (permalink / raw)
  To: linux-mtd; +Cc: tglx, dedekind1, linux-kernel, Heinz.Egger, tim.bird

v1: https://lwn.net/Articles/481612/
v2: https://lwn.net/Articles/496586/
v3: Didn't release it to linux-mtd
v4: http://article.gmane.org/gmane.linux.kernel/1297626
v5: http://article.gmane.org/gmane.linux.kernel/1298488
v6: https://lwn.net/Articles/498041/

Changes since v1:
       - renamed it to UBIVIS (at least in Kconfig)
       - UBIVIS parameters are now configurable via Kconfig
       - several bugs have been fixed (design and implementation bugs)
       - added lots of comments to make the review process easier
       - made checkpatch.pl happy

Changes since v2:
       - minor bugs have been fixed
       - renamed it to UBI fastmap (as Artem requested)

Changes since v3:
       - changed the on-flash layout (added padding fields, turned the
         EBA storage into an array)
       - fixed some corner cases (the protection queue needed some extra work)
       - removed the data type hint logic
       - rebased to Artems mtd tree

Changes since v4:
       - fixed static volume handling (used_ebs and last_data_bytes contained
         bad values in some cases)

Changes since v5:
       - merged it into a single patch
       - rebased to Artems mtd tree (addressed all renames)
       - fixed issues pointed out by Artem
       - redefined fastmap parameters

Changes since v6:
       - massive return code cleanup
       - made ubi_wl_put_fm_peb more robust
       - fastmap stores now bad_peb_count
       - some minor fixes (typos, renames)
       - fastmap makes now use of ubi_io_is_bad() and checks image_seq
         (mostly like scan_peb() does)
       - if update_fastmap() fails we switch to read-only mode
       - the CRC covers now the whole fastmap (super block + data)

The fastmap super block has to be located within the first 64 PEBs.
A fastmap can use up to 32 PEBs.
The fastmap pool (the number of to be scanned PEBs while attaching)
is now derived from the flash size.
The current formular is Np = max(min(5% of total PEBs, 256), 8)
Comments/better ideas?

git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubi2.git ubi2/v7

[PATCH] [RFC] UBI: Implement Fastmap support

Thanks,
//richard

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-06-01  8:47 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-23 11:06 [RFC v7] UBI: Fastmap support (aka checkpointing) Richard Weinberger
2012-05-23 11:06 ` [PATCH] [RFC] UBI: Implement Fastmap support Richard Weinberger
2012-05-26 13:22   ` Artem Bityutskiy
2012-05-31 10:37   ` Adrian Hunter
2012-05-31 13:31     ` Richard Weinberger
2012-06-01  5:47   ` Adrian Hunter
2012-06-01  8:00     ` Richard Weinberger
2012-06-01  8:10       ` Artem Bityutskiy
2012-06-01  8:10         ` Richard Weinberger
2012-06-01  8:47           ` Adrian Hunter
2012-05-26 12:41 ` [RFC v7] UBI: Fastmap support (aka checkpointing) Artem Bityutskiy
2012-05-26 14:01   ` Richard Weinberger
2012-05-26 14:15     ` Artem Bityutskiy
2012-05-28  6:36   ` Shmulik Ladkani
2012-05-28  6:46     ` Artem Bityutskiy
2012-05-28  9:49       ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).