Re: [PATCH 0/2] block: online resize of disk partitions

From: Vivek Goyal
Date: Mon Feb 13 2012 - 16:57:00 EST


On Mon, Feb 13, 2012 at 04:50:39PM -0500, Vivek Goyal wrote:

[..]
> > as well as to allow for the
> > possibility of extending the interface in the future to allow changing
> > the start as well as the length.
>
> Even if we allow changing start at some point of time, then IOCTL can
> remain the same and just the implementation will change in a backward
> compatible manner. Old tools still will continue to work as they have
> always been, and new ones can start passing "start" too.

Let me thake that back. Changes will not be backward compatible as
if old tools run on new kernel specifying start as 0, then change
will fail on newer kernels which might allow changing start too.

Do you really expect that changing start will really be useful? If yes,
then it does make a case for not leaving "start" undefined.

Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/