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 (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
139139 TCMU_ATTR_UNSPEC,
140140 TCMU_ATTR_DEVICE,
141141 TCMU_ATTR_MINOR,
142+ TCMU_ATTR_TYPE,
142143 __TCMU_ATTR_MAX,
143144 };
144145 #define TCMU_ATTR_MAX (__TCMU_ATTR_MAX - 1)
145146
147+enum tcmu_reconfig_types {
148+ NO_RECONFIG,
149+ CONFIG_PATH,
150+ CONFIG_SIZE,
151+ CONFIG_WRITECACHE,
152+};
153+
146154 #endif