History

dm: allow targets to return output from messages they are sent

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.

Mike Snitzer committed 8 years ago

Commit 1eb5fa81 parent da5dadb11 files · +21 −12Browse files

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

Unified · Split

include/uapi/linux/dm-ioctl.h+2−2
@@ -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 4272#define DM_VERSION_MAJOR 4
273#define DM_VERSION_MINOR 37273#define DM_VERSION_MINOR 38
274#define DM_VERSION_PATCHLEVEL 0274#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 */