mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-24 05:01:03 +02:00
nbd: multicast dead link notifications
Provide a mechanism to notify userspace that there's been a link problem on a NBD device. This will allow userspace to re-establish a connection and provide the new socket to the device without disrupting the device. Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
@@ -18,8 +18,9 @@
|
||||
#ifndef _UAPILINUX_NBD_NETLINK_H
|
||||
#define _UAPILINUX_NBD_NETLINK_H
|
||||
|
||||
#define NBD_GENL_FAMILY_NAME "nbd"
|
||||
#define NBD_GENL_VERSION 0x1
|
||||
#define NBD_GENL_FAMILY_NAME "nbd"
|
||||
#define NBD_GENL_VERSION 0x1
|
||||
#define NBD_GENL_MCAST_GROUP_NAME "nbd_mc_group"
|
||||
|
||||
/* Configuration policy attributes, used for CONNECT */
|
||||
enum {
|
||||
@@ -63,6 +64,7 @@ enum {
|
||||
NBD_CMD_CONNECT,
|
||||
NBD_CMD_DISCONNECT,
|
||||
NBD_CMD_RECONFIGURE,
|
||||
NBD_CMD_LINK_DEAD,
|
||||
__NBD_CMD_MAX,
|
||||
};
|
||||
#define NBD_CMD_MAX (__NBD_CMD_MAX - 1)
|
||||
|
Reference in New Issue
Block a user