[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] Snapshot / resize / disconnect2 / delete





--On 31 July 2011 13:03:36 +0100 Alex Bligh <alex@...872...> 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



Reply to: