--On 31 July 2011 13:03:36 +0100 Alex Bligh <[email protected]> wrote:

> SNAPSHOT & RESIZE will need to be implemented through adding to the
> ioctl code (i.e. they will need kernel changes).

I should be clear we don't need more IOCTLs apart from for
SNAPSHOT. RESIZE would be implemented through NBD_SET_SIZE_BLOCKS.
As far as I can tell, this works just fine whilst a disk is attached,
save that the server has no knowledge of a resize. I'd do DISC2
by advertising through the flags that it is supported, and use
SETFLAGS to do a "set delete flag on disconnect".

-- 
Alex Bligh

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to