All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vivek Goyal <vgoyal@redhat.com>
To: linux-kernel@vger.kernel.org, jaxboe@fusionio.com, dm-devel@redhat.com
Cc: kzak@redhat.com, vgoyal@redhat.com
Subject: [RFC PATCH 0/2] block: Allow extending partition size online
Date: Thu,  1 Sep 2011 17:55:26 -0400	[thread overview]
Message-ID: <1314914128-3171-1-git-send-email-vgoyal@redhat.com> (raw)


Hi,

This is a patch to allow extending the partition size online. There are two
patches in the series. One is kernel patch and other is util-linux patch
to add another command "extendpart".

Kernel patch adds another ioctl to increase the size of partition even when
partition is in use. Currently limitation is that after modification to 
partition table, one needs to reboot the system/stop using the partition
before size changes become visible. It would be nice to allow changing
the size online, hence this change.

This ioctl changes only kernel view of data structures and does not
touch ondisk data structures. So right way to expand the partition
table would be to fist modify on disk copy using fdisk or so and then
extend partition in kernel so that kernel's table and ondisk table
are in sync.

Any feedback is welcome.

Thanks
Vivek

             reply	other threads:[~2011-09-01 21:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-01 21:55 Vivek Goyal [this message]
2011-09-01 21:55 ` [PATCH 1/1] block: Add ioctl for extending partition size online Vivek Goyal
2011-09-01 21:55 ` [PATCH 1/1] extendpart: A new command line to extend an existing partition Vivek Goyal

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=1314914128-3171-1-git-send-email-vgoyal@redhat.com \
    --to=vgoyal@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=jaxboe@fusionio.com \
    --cc=kzak@redhat.com \
    --cc=linux-kernel@vger.kernel.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 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.