]> sourceware.org Git - lvm2.git/commit
lvmlockd: use new sanlock sector/align interface
authorDavid Teigland <teigland@redhat.com>
Mon, 22 Oct 2018 20:45:23 +0000 (15:45 -0500)
committerDavid Teigland <teigland@redhat.com>
Thu, 1 Nov 2018 18:25:21 +0000 (13:25 -0500)
commit0b01e3f5d7ce1c954aa9f3707aa645508664f7f1
tree75c2e9a8b1b1b1ab5a07b6543d9a24dda6f1be24
parent925aaf0b874fd92aec1b34f42d23987f65205ff9
lvmlockd: use new sanlock sector/align interface

The choice about sector size and lease align size is
now made by the sanlock user, in this case lvmlockd.
This will allow lvmlockd to use other lease sizes in
the future.  This also prevents breakage if hosts
report different sector sizes, or the sector size
reported by a device changes.
daemons/lvmlockd/lvmlockd-core.c
daemons/lvmlockd/lvmlockd-internal.h
daemons/lvmlockd/lvmlockd-sanlock.c
This page took 0.039555 seconds and 5 git commands to generate.