linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mtd: add BLKPG API based repartition support
@ 2010-09-17 10:31 Roman Tereshonkov
  2010-09-17 10:31 ` [PATCH 1/2] mtd: prepare partition add and del functions for ioctl requests Roman Tereshonkov
  2010-09-20 12:42 ` [PATCH 0/2] mtd: add BLKPG API based repartition support Artem Bityutskiy
  0 siblings, 2 replies; 6+ messages in thread
From: Roman Tereshonkov @ 2010-09-17 10:31 UTC (permalink / raw)
  To: linux-mtd; +Cc: dwmw2, Roman Tereshonkov


    Add support for mtd repartition based on the block
    device BLKPG interface:
    BLKPG_ADD_PARTITION - for partition creation;
    BLKPG_DEL_PARTITION - for partition delete

    The usage is based on BLKPG ioctl called with
    struct blkpg_ioctl_arg argument. This structure includes the
    reference to struct blkpg_partition discribing the
    partition name, offset and length for partition creation
    and partition number for its deletion.

    Disadvantage: there is no implementation for mtd
    flags control. The flags are always borrowed from
    the master device.

Roman Tereshonkov (2):
  mtd: prepare partition add and del functions for ioctl requests
  mtd: add BLKPG API based repartition support

 drivers/mtd/mtdchar.c          |   62 ++++++++++++++++-
 drivers/mtd/mtdpart.c          |  154 +++++++++++++++++++++++++++++++++++-----
 include/linux/mtd/partitions.h |    5 ++
 3 files changed, 201 insertions(+), 20 deletions(-)

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

end of thread, other threads:[~2010-09-20 12:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-17 10:31 [PATCH 0/2] mtd: add BLKPG API based repartition support Roman Tereshonkov
2010-09-17 10:31 ` [PATCH 1/2] mtd: prepare partition add and del functions for ioctl requests Roman Tereshonkov
2010-09-17 10:31   ` [PATCH 2/2] mtd: add BLKPG API based repartition support Roman Tereshonkov
2010-09-20  8:50   ` [PATCH 1/2] mtd: prepare partition add and del functions for ioctl requests Artem Bityutskiy
2010-09-20 12:00     ` Artem Bityutskiy
2010-09-20 12:42 ` [PATCH 0/2] mtd: add BLKPG API based repartition support Artem Bityutskiy

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).