Add the missing align and sector arguments to read_resource_owners() and
add initial tests for 4k storage.
The tests for using wrong sector size revealed that
read_resouce_owners() ignores wrong sector size. Make it more strict to
be consistent with other APIs.
Nir Soffer (4):
python: Add align and sector arguments to read_resource_owners()
tests: Start tests for 4k storage
tests: Test wrong sector size with 4k storage
sanlock: Fail read_resource_owners() with wrong sector size
README.dev | 44 +++++++++++++
python/sanlock.c | 24 +++++--
src/resource.c | 17 ++++-
tests/python_test.py | 152 +++++++++++++++++++++++++++++++++++++++++++
tox.ini | 2 +-
5 files changed, 230 insertions(+), 9 deletions(-)
--
2.17.2