diff options
author | Josef Bacik <josef@toxicpanda.com> | 2017-04-06 17:02:01 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-17 09:58:42 -0600 |
commit | b7aa3d39385dc2d95899f9e379623fef446a2acd (patch) | |
tree | ff0ff044ec1668138af9082d24305de7149b3628 /include/uapi | |
parent | e46c7287b1c27683a8e30ca825fb98e2b97f1099 (diff) |
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>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/nbd-netlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/nbd-netlink.h b/include/uapi/linux/nbd-netlink.h index fd0f4e45f03e..f932f96a7c2f 100644 --- a/include/uapi/linux/nbd-netlink.h +++ b/include/uapi/linux/nbd-netlink.h @@ -62,6 +62,7 @@ enum { NBD_CMD_UNSPEC, NBD_CMD_CONNECT, NBD_CMD_DISCONNECT, + NBD_CMD_RECONFIGURE, __NBD_CMD_MAX, }; #define NBD_CMD_MAX (__NBD_CMD_MAX - 1) |