From: Dan Ehrenberg <dehrenberg@chromium.org>
To: computersforpeace@gmail.com, linux-mtd@lists.infradead.org,
ezequiel@vanguardiasur.com.ar,
Richard Weinberger <richard@nod.at>
Cc: gwendal@chromium.org, Dan Ehrenberg <dehrenberg@chromium.org>
Subject: [PATCH v5 0/3] Improve MTD dynamic partitioning support
Date: Thu, 2 Apr 2015 15:15:09 -0700 [thread overview]
Message-ID: <1428012912-17551-1-git-send-email-dehrenberg@chromium.org> (raw)
The goal of this patchset is to make mtd dynamic partitioning work
better.
- First, a new config option is added to allow the master device to
coexist with partitions, which allows partitions to be created or
removed based on the master even if other partitions exist.
- Second, to identify partitions and improve visibility,
- Third, remove overlap checks for partitions, which had a bug
in them and don't seem necessary since static partitions don't
have overlap checks.
This patchset has gone through a few iterations.
v1 is based on a different concept, where a separate partition is
used as a master, and partitioning is simply made more flexible.
v2 switched to the model of the master coexisting with the partitions.
v3 brings back the patch to remove overlap checks, as testing
discovered that the overlap checks were buggy. This version
also makes some style improvements.
v4 fixes some style issues in the sysfs patch and adds documentation.
v5 cleans up some unused code in the third patch.
Dan Ehrenberg (3):
mtd: part: Create the master device node when partitioned
mtd: part: Add sysfs variable for offset of partition
mtd: part: Remove partition overlap checks
Documentation/ABI/testing/sysfs-class-mtd | 10 +++++
drivers/mtd/Kconfig | 13 ++++++
drivers/mtd/mtdcore.c | 52 +++++++++++++++--------
drivers/mtd/mtdpart.c | 68 +++++++++++++++++++------------
4 files changed, 102 insertions(+), 41 deletions(-)
--
2.2.0.rc0.207.ga3a616c
next reply other threads:[~2015-04-02 22:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-02 22:15 Dan Ehrenberg [this message]
2015-04-02 22:15 ` [PATCH v5 1/3] mtd: part: Create the master device node when partitioned Dan Ehrenberg
2015-04-02 22:15 ` [PATCH v5 2/3] mtd: part: Add sysfs variable for offset of partition Dan Ehrenberg
2015-04-02 22:15 ` [PATCH v5 3/3] mtd: part: Remove partition overlap checks Dan Ehrenberg
2015-04-06 0:56 ` [PATCH v5 0/3] Improve MTD dynamic partitioning support Brian Norris
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=1428012912-17551-1-git-send-email-dehrenberg@chromium.org \
--to=dehrenberg@chromium.org \
--cc=computersforpeace@gmail.com \
--cc=ezequiel@vanguardiasur.com.ar \
--cc=gwendal@chromium.org \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
/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).