This patch series adds python bindings to writing (set_lvb) and
reading
(get_lvb) data to and from the Lock Value Block of a sanlock resource,
as well as support for an lvb flag in sanlock#acquire.
Github branch:
https://github.com/bennyz/sanlock/tree/get_set_lvb
All patches LGTM
Benny Zlotnik (4):
python: add lvb flag to sanlock.acquire
python: expose set_lvb
python: expose get_lvb
tests: add a test for LVB operation
python/sanlock.c | 138 ++++++++++++++++++++++++++++++++++++++++---
tests/python_test.py | 72 ++++++++++++++++++++++
2 files changed, 203 insertions(+), 7 deletions(-)