1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/daemons
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
..
cmirrord cleanup: typos in comments 2024-08-30 16:51:15 +02:00
dmeventd cleanup: typos in comments 2024-08-30 16:51:15 +02:00
lvmdbusd cleanup: fix typos 2024-09-27 13:42:45 +02:00
lvmlockd lvmlockd: configurable sanlock lease sizes on 4K disks 2024-09-27 17:59:03 -05:00
lvmpolld cleanup: typos in comments 2024-08-30 16:51:15 +02:00
Makefile.in build: Remove lvmetad leftovers 2018-07-24 15:02:32 +02:00