nbd: add netlink reconfigure resize support
authorMike Christie <mchristi@redhat.com>
Wed, 29 May 2019 20:16:06 +0000 (15:16 -0500)
committerJens Axboe <axboe@kernel.dk>
Thu, 11 Jul 2019 03:21:31 +0000 (21:21 -0600)
commit4ddeaae8903d703201e493e2d19dc9ac9acf2c76
tree252647734366ae886edc2ee667b1b81d7c352f0b
parent553768d1169a48c0cd87c4eb4ab57534ee663415
nbd: add netlink reconfigure resize support

If the device is setup with ioctl we can resize the device after the
initial setup, but if the device is setup with netlink we cannot use the
resize related ioctls and there is no netlink reconfigure size ATTR
handling code.

This patch adds netlink reconfigure resize support to match the ioctl
interface.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/nbd.c