1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/daemons/lvmlockd
David Teigland 7f29afdb06 lvmlockd: configurable sanlock lease sizes on 4K disks
New config setting sanlock_align_size can be used to configure
the sanlock lease size that lvmlockd will use on 4K disks.

By default, lvmlockd and sanlock use 8MiB align_size (lease size)
on 4K disks, which supports up to 2000 hosts (and max host_id.)

This can be reduced to 1, 2 or 4 (in MiB), to reduce lease i/o.
The reduced sizes correspond to smaller max hosts/host_id:

1 MiB = 250 hosts
2 MiB = 500 hosts
4 MiB = 1000 hosts
8 MiB = 2000 hosts (default)

(Disks with 512 byte sectors always use 1MiB leases and support
2000 hosts/host_id, and are not affected by this.)
2024-09-27 17:59:03 -05:00
..
.gitignore gitignore: Update for in-place build. 2015-07-27 13:18:35 +01:00
lvmlockctl.c lvmlockd: increase dump buffer size 2024-08-22 16:23:07 -05:00
lvmlockd-client.h lvmlockd: adopt options 2024-06-27 13:29:03 -05:00
lvmlockd-core.c lvmlockd: configurable sanlock lease sizes on 4K disks 2024-09-27 17:59:03 -05:00
lvmlockd-dlm.c lvmlockd: adopt options 2024-06-27 13:29:03 -05:00
lvmlockd-idm.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
lvmlockd-internal.h lvmlockd: configurable sanlock lease sizes on 4K disks 2024-09-27 17:59:03 -05:00
lvmlockd-sanlock.c lvmlockd: configurable sanlock lease sizes on 4K disks 2024-09-27 17:59:03 -05:00
Makefile.in configure.ac: update ldflags args 2024-04-24 00:31:26 +02:00