This patch adds more info about the attribute being changed, so that usersapce can easily figure out what is happening.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -139,8 +139,16 @@ enum tcmu_genl_attr { · 138 unmodified lines | ||
| 139 | 139 | TCMU_ATTR_UNSPEC, |
| 140 | 140 | TCMU_ATTR_DEVICE, |
| 141 | 141 | TCMU_ATTR_MINOR, |
| 142 | + TCMU_ATTR_TYPE, | |
| 142 | 143 | __TCMU_ATTR_MAX, |
| 143 | 144 | }; |
| 144 | 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 | 154 | #endif |