diff options
author | Alex Vesker | 2018-07-12 14:13:13 +0200 |
---|---|---|
committer | David S. Miller | 2018-07-13 02:37:13 +0200 |
commit | 866319bb9437614407ca36f8b16f89ab77a6a831 (patch) | |
tree | 5198a6aba0590c905c867b89c6e89e46c76ac8f9 /include | |
parent | devlink: Extend the support querying for region snapshot IDs (diff) | |
download | kernel-qcow2-linux-866319bb9437614407ca36f8b16f89ab77a6a831.tar.gz kernel-qcow2-linux-866319bb9437614407ca36f8b16f89ab77a6a831.tar.xz kernel-qcow2-linux-866319bb9437614407ca36f8b16f89ab77a6a831.zip |
devlink: Add support for region snapshot delete command
Add support for DEVLINK_CMD_REGION_DEL used
for deleting a snapshot from a region. The snapshot ID is required.
Also added notification support for NEW and DEL of snapshots.
Signed-off-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/devlink.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h index abde4e306375..d212e02f843f 100644 --- a/include/uapi/linux/devlink.h +++ b/include/uapi/linux/devlink.h @@ -85,6 +85,8 @@ enum devlink_command { DEVLINK_CMD_REGION_GET, DEVLINK_CMD_REGION_SET, + DEVLINK_CMD_REGION_NEW, + DEVLINK_CMD_REGION_DEL, /* add new commands above here */ __DEVLINK_CMD_MAX, |