Re: BLKRRPART ioctl

David Woodhouse (David.Woodhouse@mvhi.com)
Tue, 03 Aug 1999 12:39:12 +0100


russell@coker.com.au said:
> What exactly do you mean by "start rather than either end"? The
> start is one end...

Your proposal: We disallow the reload if either end of a live partition moves.
Mine: s/either end/the start/

> Also if we change the start of an active partition then we must also
> call the file system code on that partition and tell it to change it's
> offset for everything (significant change). For the end to change we
> just need an IOCTL to advise of the new size.

That's complex. I wouldn't be inclined to let you change the start of an
active partition.

Changing the _finish_, however, shouldn't be too much of a problem. You leave
it up to the user to make sure they resize the filesystem appropriately. So
there's no extra code in the kernel. Just one fewer check for the ioctl.

---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.

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