History

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.

Bryant G. Ly committed 9 years ago

Commit 8a458851 parent ee018252 files · +22 −6Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/target_core_user.h+8−0
@@ -139,8 +139,16 @@ enum tcmu_genl_attr { · 138 unmodified lines
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
147enum tcmu_reconfig_types {
148 NO_RECONFIG,
149 CONFIG_PATH,
150 CONFIG_SIZE,
151 CONFIG_WRITECACHE,
152};
153
146#endif154#endif