diff options
| author | Bryant G. Ly <bryantly@linux.vnet.ibm.com> | 2017-06-06 10:28:52 -0400 |
|---|---|---|
| committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-07-07 02:11:32 -0400 |
| commit | 8a45885c1514cdae2ee64b5ac03ffc00a1a8a9d7 (patch) | |
| tree | 9d094ca4f89ce0674875dc6da1a80f2e1cfb752b /include/uapi | |
| parent | ee01825220f01c0befea25f08325962fa9374ee2 (diff) | |
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')
| -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 { | |||
| 139 | TCMU_ATTR_UNSPEC, | 139 | TCMU_ATTR_UNSPEC, |
| 140 | TCMU_ATTR_DEVICE, | 140 | TCMU_ATTR_DEVICE, |
| 141 | TCMU_ATTR_MINOR, | 141 | TCMU_ATTR_MINOR, |
| 142 | TCMU_ATTR_TYPE, | ||
| 142 | __TCMU_ATTR_MAX, | 143 | __TCMU_ATTR_MAX, |
| 143 | }; | 144 | }; |
| 144 | #define TCMU_ATTR_MAX (__TCMU_ATTR_MAX - 1) | 145 | #define TCMU_ATTR_MAX (__TCMU_ATTR_MAX - 1) |
| 145 | 146 | ||
| 147 | enum tcmu_reconfig_types { | ||
| 148 | NO_RECONFIG, | ||
| 149 | CONFIG_PATH, | ||
| 150 | CONFIG_SIZE, | ||
| 151 | CONFIG_WRITECACHE, | ||
| 152 | }; | ||
| 153 | |||
| 146 | #endif | 154 | #endif |
