All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] block: Allow extending partition size online
@ 2011-09-01 21:55 Vivek Goyal
  2011-09-01 21:55 ` [PATCH 1/1] block: Add ioctl for " Vivek Goyal
  2011-09-01 21:55 ` [PATCH 1/1] extendpart: A new command line to extend an existing partition Vivek Goyal
  0 siblings, 2 replies; 3+ messages in thread
From: Vivek Goyal @ 2011-09-01 21:55 UTC (permalink / raw)
  To: linux-kernel, jaxboe, dm-devel; +Cc: kzak, vgoyal


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

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

end of thread, other threads:[~2011-09-01 21:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-01 21:55 [RFC PATCH 0/2] block: Allow extending partition size online Vivek Goyal
2011-09-01 21:55 ` [PATCH 1/1] block: Add ioctl for " Vivek Goyal
2011-09-01 21:55 ` [PATCH 1/1] extendpart: A new command line to extend an existing partition Vivek Goyal

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.