Could be useful for a target to return stats or other information. If a target does DMEMIT() anything to @result from its .message method then it must return 1 to the caller.
Showing the changes to include/uapi/linux (1 of 11 files). Show all
Unified · Split
| @@ -270,9 +270,9 @@ enum { · 269 unmodified lines | |||
| 270 | #define DM_DEV_SET_GEOMETRY _IOWR(DM_IOCTL, DM_DEV_SET_GEOMETRY_CMD, struct dm_ioctl) | 270 | #define DM_DEV_SET_GEOMETRY _IOWR(DM_IOCTL, DM_DEV_SET_GEOMETRY_CMD, struct dm_ioctl) |
| 271 | 271 | ||
| 272 | #define DM_VERSION_MAJOR 4 | 272 | #define DM_VERSION_MAJOR 4 |
| 273 | #define DM_VERSION_MINOR 37 | 273 | #define DM_VERSION_MINOR 38 |
| 274 | #define DM_VERSION_PATCHLEVEL 0 | 274 | #define DM_VERSION_PATCHLEVEL 0 |
| 275 | #define DM_VERSION_EXTRA "-ioctl (2017-09-20)" | 275 | #define DM_VERSION_EXTRA "-ioctl (2018-02-28)" |
| 276 | 276 | ||
| 277 | /* Status bits */ | 277 | /* Status bits */ |
| 278 | #define DM_READONLY_FLAG (1 << 0) /* In/Out */ | 278 | #define DM_READONLY_FLAG (1 << 0) /* In/Out */ |