On Fri, Apr 26, 2019, 10:27 Vojtech Juranek <vjuranek@redhat.com> wrote:
To have more consisten python API, value should be used for secor
size and alignment instead of flags. This patch set replaces flags
with values in public API, expose tuples with supported sector size
and alignment values and add some related tests.

Thanks Vojta, the changes look reasonable. I will review them next week.

Nir


Second version of this patch set fixes pointer dereffeence in 3th
patch.

Vojtech Juranek (4):
  tests: add sector and align parameters
  Accept values instead of flags for sector and aling parameters.
  Expose tuples with supported align and sector values
  tests: add tests for invalid align and sector values

 python/example.py    |   4 +-
 python/sanlock.c     | 161 ++++++++++++++++++++++++++++++++++---------
 tests/python_test.py |  48 +++++++++++--
 3 files changed, 173 insertions(+), 40 deletions(-)

--
2.20.1