summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorBryant G. Ly <bryantly@linux.vnet.ibm.com>2017-06-06 16:28:49 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2017-07-07 08:11:30 +0200
commit1068be7bd4b05ca41a6a8de724f52a9c87861412 (patch)
tree5ce826122611e651f0a684cb220c36f9aaa9b609 /include/uapi
parenttcmu: Support emulate_write_cache (diff)
downloadlinux-1068be7bd4b05ca41a6a8de724f52a9c87861412.tar.xz
linux-1068be7bd4b05ca41a6a8de724f52a9c87861412.zip
tcmu: Add netlink for device reconfiguration
This gives tcmu the ability to handle events that can cause reconfiguration, such as resize, path changes, write_cache, etc... Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com> Reviewed-By: Mike Christie <mchristi@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/target_core_user.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/target_core_user.h b/include/uapi/linux/target_core_user.h
index af17b4154ef6..403a61faada0 100644
--- a/include/uapi/linux/target_core_user.h
+++ b/include/uapi/linux/target_core_user.h
@@ -130,6 +130,7 @@ enum tcmu_genl_cmd {
TCMU_CMD_UNSPEC,
TCMU_CMD_ADDED_DEVICE,
TCMU_CMD_REMOVED_DEVICE,
+ TCMU_CMD_RECONFIG_DEVICE,
__TCMU_CMD_MAX,
};
#define TCMU_CMD_MAX (__TCMU_CMD_MAX - 1)