mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
libdm: add DM_DEVICE_ARM_POLL
Expose DM_DEVICE_ARM_POLL via standard API enum.
(cherry picked from commit 1ae5bf2b83
)
This commit is contained in:
parent
8a568b9562
commit
15d51bd6d0
@ -1,5 +1,6 @@
|
|||||||
Version 1.02.155 -
|
Version 1.02.155 -
|
||||||
====================================
|
====================================
|
||||||
|
Add DM_DEVICE_ARM_POLL for API completness matching kernel.
|
||||||
Do not add parameters for RESUME with DM_DEVICE_CREATE dm task.
|
Do not add parameters for RESUME with DM_DEVICE_CREATE dm task.
|
||||||
|
|
||||||
Version 1.02.153 - 31st October 2018
|
Version 1.02.153 - 31st October 2018
|
||||||
|
@ -116,10 +116,12 @@ enum {
|
|||||||
DM_DEVICE_MKNODES,
|
DM_DEVICE_MKNODES,
|
||||||
|
|
||||||
DM_DEVICE_LIST_VERSIONS,
|
DM_DEVICE_LIST_VERSIONS,
|
||||||
|
|
||||||
DM_DEVICE_TARGET_MSG,
|
DM_DEVICE_TARGET_MSG,
|
||||||
|
|
||||||
DM_DEVICE_SET_GEOMETRY
|
DM_DEVICE_SET_GEOMETRY,
|
||||||
|
|
||||||
|
DM_DEVICE_ARM_POLL
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -117,6 +117,9 @@ static struct cmd_data _cmd_data_v4[] = {
|
|||||||
#ifdef DM_DEV_SET_GEOMETRY
|
#ifdef DM_DEV_SET_GEOMETRY
|
||||||
{"setgeometry", DM_DEV_SET_GEOMETRY, {4, 6, 0}},
|
{"setgeometry", DM_DEV_SET_GEOMETRY, {4, 6, 0}},
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef DM_DEV_ARM_POLL
|
||||||
|
{"armpoll", DM_DEV_ARM_POLL, {4, 36, 0}},
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
/* *INDENT-ON* */
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
|
@ -115,6 +115,9 @@ static struct cmd_data _cmd_data_v4[] = {
|
|||||||
#ifdef DM_DEV_SET_GEOMETRY
|
#ifdef DM_DEV_SET_GEOMETRY
|
||||||
{"setgeometry", DM_DEV_SET_GEOMETRY, {4, 6, 0}},
|
{"setgeometry", DM_DEV_SET_GEOMETRY, {4, 6, 0}},
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef DM_DEV_ARM_POLL
|
||||||
|
{"armpoll", DM_DEV_ARM_POLL, {4, 36, 0}},
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
/* *INDENT-ON* */
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
|
@ -119,7 +119,9 @@ enum {
|
|||||||
|
|
||||||
DM_DEVICE_TARGET_MSG,
|
DM_DEVICE_TARGET_MSG,
|
||||||
|
|
||||||
DM_DEVICE_SET_GEOMETRY
|
DM_DEVICE_SET_GEOMETRY,
|
||||||
|
|
||||||
|
DM_DEVICE_ARM_POLL
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user