linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Roman Tereshonkov <roman.tereshonkov@nokia.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [PATCH 0/4] mtd: add mtd repartition ioctl
Date: Thu, 08 Jul 2010 08:50:57 +0300	[thread overview]
Message-ID: <1278568257.12733.34.camel@localhost> (raw)
In-Reply-To: <1276855711-18570-1-git-send-email-roman.tereshonkov@nokia.com>

On Fri, 2010-06-18 at 13:08 +0300, Roman Tereshonkov wrote:
> Adding mtd master device after all partitions should provide
> minimum effect on the created partition enumeration.
> 
> The master mtd device can be repartitioned in runtime through
> the mtd ioctl MTDREPARTITION. The ioctl passed argument is
> the set of the new partitions defined by the structures:
> struct mtd_partitions and struct mtd_partition_user.
> 
> All at once partition configuration is used and caused by
> the all at once partition removing. Only unused partitions are deleted.
> If any of the partitions for given mtd device is used then user gets error.
> The care should be taken to close all applications which access
> the partitions.
> 
> Roman Tereshonkov (4):
>   mtd: add new ioctl structures to be used for repartitioning
>   mtd: add the possibility to modify partitions in runtime
>   mtd: add MTDREPARTITION ioctl
>   mtd: create the mtd master device for given set of partitions
> 
>  drivers/mtd/mtdchar.c          |  110 +++++++++++++++++++++++++++++++++++++++-
>  drivers/mtd/mtdpart.c          |   45 ++++++++++++++--
>  drivers/mtd/onenand/omap2.c    |    8 ++-
>  include/linux/mtd/partitions.h |    2 +
>  include/mtd/mtd-abi.h          |   15 ++++++
>  5 files changed, 170 insertions(+), 10 deletions(-)

I've pushed this to my l2-mtd-2.6.git / master, looks good to me.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

  parent reply	other threads:[~2010-07-08  5:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-18 10:08 [PATCH 0/4] mtd: add mtd repartition ioctl Roman Tereshonkov
2010-06-18 10:08 ` [PATCH 1/4] mtd: add new ioctl structures to be used for repartitioning Roman Tereshonkov
2010-06-18 10:08   ` [PATCH 2/4] mtd: add the possibility to modify partitions in runtime Roman Tereshonkov
2010-06-18 10:08     ` [PATCH 3/4] mtd: add MTDREPARTITION ioctl Roman Tereshonkov
2010-06-18 10:08       ` [PATCH 4/4] mtd: create the mtd master device for given set of partitions Roman Tereshonkov
2010-07-18 17:00   ` [PATCH 1/4] mtd: add new ioctl structures to be used for repartitioning Artem Bityutskiy
2010-07-18 20:22     ` Arnd Bergmann
2010-07-19  4:06       ` Artem Bityutskiy
2010-07-20  9:19         ` Arnd Bergmann
2010-07-20  9:25           ` Artem Bityutskiy
2010-07-08  5:50 ` Artem Bityutskiy [this message]
2010-07-21  9:58   ` [PATCH 0/4] mtd: add mtd repartition ioctl Artem Bityutskiy
2010-07-21 11:44     ` Vivek
2010-07-21 11:46       ` Artem Bityutskiy

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=1278568257.12733.34.camel@localhost \
    --to=dedekind1@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=roman.tereshonkov@nokia.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 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).