linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: linux-mtd@lists.infradead.org
Cc: boris.brezillon@free-electrons.com, dedekind1@gmail.com,
	goliath@sigma-star.at, alex@nextthing.co, beanhuo@micron.com
Subject: [RFC] UBI: MLC Support v0
Date: Mon, 30 May 2016 14:04:21 +0200	[thread overview]
Message-ID: <1464609874-15488-1-git-send-email-richard@nod.at> (raw)

as announced in [1] I'd like to submit the very first patch series to
have MLC support in UBI (and therefore also UBIFS).
The code has not changed much since the announcement but now the patches
are in a more reviewable shape. Still not mainline ready but better.
I'm sending this now as I'm on vacation until June 15th and hope that
we get some reviews on the concept.
The series consists of three parts:
	a) Generic UBI rework to make the MLC implementation possible.
	b) SLC emulation mode to access only lower pages on MLC NAND.
	c) LEB consolidation to exploit MLC NAND's higher pages.

[1] http://lists.infradead.org/pipermail/linux-mtd/2016-April/067322.html

Thanks,
//richard

---

David Gstir (1):
      ubi: Add debugfs knob to force LEB consolidation

Richard Weinberger (12):
      ubi: Undo "UBI: modify ubi_wl_flush function to clear work queue for a lnum"
      ubi: Rework UBI worker
      ubi: auto re-size after UBI thread is ready
      ubi: Kill ubi->alc_mutex
      ubi: Get rid of __schedule_ubi_work()
      ubi: Remove tst_disable_bgt debugfs knob
      ubi: Move work related functions to work.c
      ubi: Remove lnum and vol_id from erase work
      ubi: Remove usless debug info from wear_leveling_worker()
      ubi: SLC mode
      ubi: LEB consolidation
      ubi: Add debugfs knob to trigger LEB consolidation

 drivers/mtd/ubi/Kconfig       |   4 +
 drivers/mtd/ubi/Makefile      |   3 +-
 drivers/mtd/ubi/attach.c      | 407 ++++++++++++++++++--------------
 drivers/mtd/ubi/build.c       |  41 ++--
 drivers/mtd/ubi/cdev.c        |  14 +-
 drivers/mtd/ubi/consolidate.c | 516 ++++++++++++++++++++++++++++++++++++++++
 drivers/mtd/ubi/debug.c       |  49 ++--
 drivers/mtd/ubi/debug.h       |  19 +-
 drivers/mtd/ubi/eba.c         | 429 ++++++++++++++++++++++++++++------
 drivers/mtd/ubi/fastmap-wl.c  |  33 ++-
 drivers/mtd/ubi/fastmap.c     | 265 ++++++++++++++-------
 drivers/mtd/ubi/io.c          | 426 +++++++++++++++++++++++++--------
 drivers/mtd/ubi/kapi.c        |  43 +---
 drivers/mtd/ubi/ubi-media.h   |  18 +-
 drivers/mtd/ubi/ubi.h         | 221 ++++++++++++++----
 drivers/mtd/ubi/upd.c         |   7 +-
 drivers/mtd/ubi/vmt.c         | 106 +++++----
 drivers/mtd/ubi/vtbl.c        |  87 ++++---
 drivers/mtd/ubi/wl.c          | 531 +++++++++++++++---------------------------
 drivers/mtd/ubi/work.c        | 332 ++++++++++++++++++++++++++
 include/linux/mtd/ubi.h       |   1 -
 21 files changed, 2554 insertions(+), 998 deletions(-)

             reply	other threads:[~2016-05-30 12:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-30 12:04 Richard Weinberger [this message]
2016-05-30 12:04 ` [PATCH 01/13] ubi: Undo "UBI: modify ubi_wl_flush function to clear work queue for a lnum" Richard Weinberger
2016-05-30 12:04 ` [PATCH 02/13] ubi: Rework UBI worker Richard Weinberger
2016-05-30 12:04 ` [PATCH 03/13] ubi: auto re-size after UBI thread is ready Richard Weinberger
2016-05-30 12:04 ` [PATCH 04/13] ubi: Kill ubi->alc_mutex Richard Weinberger
2016-05-30 14:05   ` Richard Weinberger
2016-05-30 12:04 ` [PATCH 05/13] ubi: Get rid of __schedule_ubi_work() Richard Weinberger
2016-05-30 12:04 ` [PATCH 06/13] ubi: Remove tst_disable_bgt debugfs knob Richard Weinberger
2016-05-30 12:04 ` [PATCH 07/13] ubi: Move work related functions to work.c Richard Weinberger
2016-05-30 12:04 ` [PATCH 08/13] ubi: Remove lnum and vol_id from erase work Richard Weinberger
2016-05-30 12:04 ` [PATCH 09/13] ubi: Remove usless debug info from wear_leveling_worker() Richard Weinberger
2016-05-30 12:04 ` [PATCH 10/13] ubi: SLC mode Richard Weinberger
2016-05-30 12:04 ` [PATCH 11/13] ubi: LEB consolidation Richard Weinberger
2016-06-07 12:20   ` Boris Brezillon
2016-05-30 12:04 ` [PATCH 12/13] ubi: Add debugfs knob to force " Richard Weinberger
2016-05-30 12:04 ` [PATCH 13/13] ubi: Add debugfs knob to trigger " Richard Weinberger
2016-06-03 12:40 ` [RFC] UBI: MLC Support v0 Boris Brezillon
2016-06-24 14:48   ` Bean Huo (beanhuo)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1464609874-15488-1-git-send-email-richard@nod.at \
    --to=richard@nod.at \
    --cc=alex@nextthing.co \
    --cc=beanhuo@micron.com \
    --cc=boris.brezillon@free-electrons.com \
    --cc=dedekind1@gmail.com \
    --cc=goliath@sigma-star.at \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).