1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/daemons/lvmlockd
Leo Yan d02f5392a0 lvmlockd: idm: Hook Seagate IDM wrapper APIs
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>
2021-05-20 16:01:04 -05:00
..
.gitignore gitignore: Update for in-place build. 2015-07-27 13:18:35 +01:00
lvmlockctl.c cov: avoid leak when repeating options 2021-04-23 22:59:25 +02:00
lvmlockd-client.h cleanup: matching declaration order 2020-09-01 17:57:50 +02:00
lvmlockd-core.c lvmlockd: idm: Hook Seagate IDM wrapper APIs 2021-05-20 16:01:04 -05:00
lvmlockd-dlm.c cleanup: free already checks for NULL 2021-03-02 22:57:35 +01:00
lvmlockd-idm.c lvmlockd: idm: Introduce new locking scheme 2021-05-20 16:00:59 -05:00
lvmlockd-internal.h lvmlockd: idm: Hook Seagate IDM wrapper APIs 2021-05-20 16:01:04 -05:00
lvmlockd-sanlock.c cleanup: free already checks for NULL 2021-03-02 22:57:35 +01:00
Makefile.in lvmlockd: idm: Introduce new locking scheme 2021-05-20 16:00:59 -05:00