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

[Nbd] NBD_CMD_RESIZE



Hi all,

I notice that Alex Bligh proposed the addition of NBD_CMD_RESIZE (along
with some others) to the NBD protocol back in 2011:

http://comments.gmane.org/gmane.linux.drivers.nbd.general/993

I'm assuming this didn't go anywhere, at the time; would there be any
interest in reviving the idea? I find myself wanting to implement
block_resize in QEMU for NBD devices.

One option is to stop the NBD server, resize the file, start NBD again,
then run a peculiar version of block_resize that reconnects, reads the
new size and advertises that to the guest; but NBD_CMD_RESIZE would be
considerably simpler. 


/Nick




Reply to: