mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
d02f5392a0
To allow the IDM locking scheme be used by users, this patch hooks the IDM wrapper; it also introducs a new locking type "idm" and we can use it for global lock with option '-g idm'. To support IDM locking type, the main change in the data structure is to add pvs path arrary. The pvs list is transferred from the lvm commands, when lvmlockd core layer receives message, it extracts the message with the keyword "path[idx]". Finally, the pv list will pass to IDM lock manager as the target drives for sending IDM SCSI commands. Signed-off-by: Leo Yan <leo.yan@linaro.org> |
||
---|---|---|
.. | ||
.gitignore | ||
lvmlockctl.c | ||
lvmlockd-client.h | ||
lvmlockd-core.c | ||
lvmlockd-dlm.c | ||
lvmlockd-idm.c | ||
lvmlockd-internal.h | ||
lvmlockd-sanlock.c | ||
Makefile.in |