diff options
author | Bryant G. Ly <bryantly@linux.vnet.ibm.com> | 2017-06-06 09:28:52 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-07-06 23:11:32 -0700 |
commit | 8a45885c1514cdae2ee64b5ac03ffc00a1a8a9d7 (patch) | |
tree | 9d094ca4f89ce0674875dc6da1a80f2e1cfb752b /include/uapi/linux/target_core_user.h | |
parent | ee01825220f01c0befea25f08325962fa9374ee2 (diff) | |
download | linux-stable-8a45885c1514cdae2ee64b5ac03ffc00a1a8a9d7.tar.gz linux-stable-8a45885c1514cdae2ee64b5ac03ffc00a1a8a9d7.tar.bz2 linux-stable-8a45885c1514cdae2ee64b5ac03ffc00a1a8a9d7.zip |
tcmu: Add Type of reconfig into netlink
This patch adds more info about the attribute being changed,
so that usersapce can easily figure out what is happening.
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/linux/target_core_user.h')
-rw-r--r-- | include/uapi/linux/target_core_user.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/linux/target_core_user.h b/include/uapi/linux/target_core_user.h index 403a61faada0..5b00e3500005 100644 --- a/include/uapi/linux/target_core_user.h +++ b/include/uapi/linux/target_core_user.h @@ -139,8 +139,16 @@ enum tcmu_genl_attr { TCMU_ATTR_UNSPEC, TCMU_ATTR_DEVICE, TCMU_ATTR_MINOR, + TCMU_ATTR_TYPE, __TCMU_ATTR_MAX, }; #define TCMU_ATTR_MAX (__TCMU_ATTR_MAX - 1) +enum tcmu_reconfig_types { + NO_RECONFIG, + CONFIG_PATH, + CONFIG_SIZE, + CONFIG_WRITECACHE, +}; + #endif |