From: Brian Norris <computersforpeace@gmail.com>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: "David Woodhouse" <dwmw2@infradead.org>,
"Boris Brezillon" <boris.brezillon@free-electrons.com>,
"Marek Vasut" <marek.vasut@gmail.com>,
"Richard Weinberger" <richard@nod.at>,
"Cyrille Pitchen" <cyrille.pitchen@wedev4u.fr>,
linux-mtd@lists.infradead.org, devicetree@vger.kernel.org,
"Rafał Miłecki" <rafal@milecki.pl>
Subject: Re: [PATCH V6 2/5] mtd: partitions: rename "master" to the "parent" where appropriate
Date: Tue, 20 Jun 2017 18:22:47 -0700 [thread overview]
Message-ID: <20170621012247.GC14148@google.com> (raw)
In-Reply-To: <20170526131415.27186-3-zajec5@gmail.com>
On Fri, May 26, 2017 at 03:14:12PM +0200, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> This prepares mtd subsystem for the new feature: subpartitions. In some
> cases flash device partition can be a container with extra subpartitions
> (volumes).
>
> So far there was a flat structure implemented. One master (flash device)
> could be partitioned into few partitions. Every partition got its master
> and it was enough to get things running.
>
> To support subpartitions we need to store pointer to the parent for each
> partition. This is required to implement more natural tree structure and
> handle all recursion and offsets calculation.
>
> To make code consistent this patch renamed "master" to the "parent" in
> places where we can be dealing with subpartitions.
>
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> ---
> V5: Introduction of this patch to prepare allocate_partition for further
> modification.
> V6: Rename "master" in more places including callback functions
This patch has some conflicts with l2-mtd.git now. I might end up
working them out, but it'd be easier if you'd rebase.
WARNING: multiple messages have this Message-ID (diff)
From: Brian Norris <computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Rafał Miłecki" <zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "David Woodhouse" <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
"Boris Brezillon"
<boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
"Marek Vasut"
<marek.vasut-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"Richard Weinberger" <richard-/L3Ra7n9ekc@public.gmane.org>,
"Cyrille Pitchen"
<cyrille.pitchen-yU5RGvR974pGWvitb5QawA@public.gmane.org>,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
"Rafał Miłecki" <rafal-g1n6cQUeyibVItvQsEIGlw@public.gmane.org>
Subject: Re: [PATCH V6 2/5] mtd: partitions: rename "master" to the "parent" where appropriate
Date: Tue, 20 Jun 2017 18:22:47 -0700 [thread overview]
Message-ID: <20170621012247.GC14148@google.com> (raw)
In-Reply-To: <20170526131415.27186-3-zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On Fri, May 26, 2017 at 03:14:12PM +0200, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal-g1n6cQUeyibVItvQsEIGlw@public.gmane.org>
>
> This prepares mtd subsystem for the new feature: subpartitions. In some
> cases flash device partition can be a container with extra subpartitions
> (volumes).
>
> So far there was a flat structure implemented. One master (flash device)
> could be partitioned into few partitions. Every partition got its master
> and it was enough to get things running.
>
> To support subpartitions we need to store pointer to the parent for each
> partition. This is required to implement more natural tree structure and
> handle all recursion and offsets calculation.
>
> To make code consistent this patch renamed "master" to the "parent" in
> places where we can be dealing with subpartitions.
>
> Signed-off-by: Rafał Miłecki <rafal-g1n6cQUeyibVItvQsEIGlw@public.gmane.org>
> ---
> V5: Introduction of this patch to prepare allocate_partition for further
> modification.
> V6: Rename "master" in more places including callback functions
This patch has some conflicts with l2-mtd.git now. I might end up
working them out, but it'd be easier if you'd rebase.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-06-21 1:23 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-26 13:14 [PATCH V6 0/5] mtd: add support for subpartitions Rafał Miłecki
2017-05-26 13:14 ` Rafał Miłecki
2017-05-26 13:14 ` [PATCH V6 1/5] mtd: partitions: add helper for deleting partition Rafał Miłecki
2017-05-26 13:14 ` Rafał Miłecki
2017-06-20 22:50 ` Brian Norris
2017-06-20 22:50 ` Brian Norris
2017-06-21 5:33 ` Rafał Miłecki
2017-06-21 5:33 ` Rafał Miłecki
2017-05-26 13:14 ` [PATCH V6 2/5] mtd: partitions: rename "master" to the "parent" where appropriate Rafał Miłecki
2017-05-26 13:14 ` Rafał Miłecki
2017-06-21 1:22 ` Brian Norris [this message]
2017-06-21 1:22 ` Brian Norris
2017-05-26 13:14 ` [PATCH V6 3/5] mtd: partitions: add support for subpartitions Rafał Miłecki
2017-05-26 13:14 ` Rafał Miłecki
2017-05-26 13:14 ` [PATCH V6 4/5] mtd: partitions: add support for partition parsers Rafał Miłecki
2017-05-26 13:14 ` Rafał Miłecki
2017-05-26 13:14 ` [PATCH V6 5/5] mtd: extract TRX parser out of bcm47xxpart into a separated module Rafał Miłecki
2017-05-26 13:14 ` Rafał Miłecki
2017-06-21 6:26 ` [PATCH V7 0/6] mtd: add support for subpartitions Rafał Miłecki
2017-06-21 6:26 ` Rafał Miłecki
2017-06-21 6:26 ` [PATCH V7 1/6] mtd: partitions: add helper for deleting partition Rafał Miłecki
2017-06-21 6:26 ` Rafał Miłecki
2017-06-21 6:26 ` [PATCH V7 2/6] mtd: partitions: remove sysfs files when deleting all master's partitions Rafał Miłecki
2017-06-21 6:26 ` Rafał Miłecki
2017-06-22 21:05 ` Brian Norris
2017-06-22 21:05 ` Brian Norris
2017-06-22 21:40 ` Rafał Miłecki
2017-06-22 21:40 ` Rafał Miłecki
2017-06-23 17:57 ` Brian Norris
2017-06-23 17:57 ` Brian Norris
2017-06-21 6:26 ` [PATCH V7 3/6] mtd: partitions: rename "master" to the "parent" where appropriate Rafał Miłecki
2017-06-21 6:26 ` Rafał Miłecki
2017-06-21 6:26 ` [PATCH V7 4/6] mtd: partitions: add support for subpartitions Rafał Miłecki
2017-06-21 6:26 ` Rafał Miłecki
2017-06-21 6:26 ` [PATCH V7 5/6] mtd: partitions: add support for partition parsers Rafał Miłecki
2017-06-21 6:26 ` Rafał Miłecki
2017-06-21 6:26 ` [PATCH V7 6/6] mtd: extract TRX parser out of bcm47xxpart into a separated module Rafał Miłecki
2017-06-21 6:26 ` Rafał Miłecki
2017-06-22 21:06 ` [PATCH V7 0/6] mtd: add support for subpartitions Brian Norris
2017-06-22 21:06 ` 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=20170621012247.GC14148@google.com \
--to=computersforpeace@gmail.com \
--cc=boris.brezillon@free-electrons.com \
--cc=cyrille.pitchen@wedev4u.fr \
--cc=devicetree@vger.kernel.org \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=marek.vasut@gmail.com \
--cc=rafal@milecki.pl \
--cc=richard@nod.at \
--cc=zajec5@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.