]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nbd: add a reconfigure netlink command
authorJosef Bacik <josef@toxicpanda.com>
Thu, 6 Apr 2017 21:02:01 +0000 (17:02 -0400)
committerJens Axboe <axboe@fb.com>
Mon, 17 Apr 2017 15:58:42 +0000 (09:58 -0600)
commitb7aa3d39385dc2d95899f9e379623fef446a2acd
treeff0ff044ec1668138af9082d24305de7149b3628
parente46c7287b1c27683a8e30ca825fb98e2b97f1099
nbd: add a reconfigure netlink command

We want to be able to reconnect dead connections to existing block
devices, so add a reconfigure netlink command.  We will also allow users
to change their timeout on the fly, but everything else will require a
disconnect and reconnect.  You won't be able to add more connections
either, simply replace dead connections with new more lively
connections.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nbd.c
include/uapi/linux/nbd-netlink.h