1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/config
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
..
config_settings.h lvmlockd: configurable sanlock lease sizes on 4K disks 2024-09-27 17:59:03 -05:00
config.c vdo: depcreate unused settings 2024-09-26 16:25:12 +02:00
config.h vdo: depcreate unused settings 2024-09-26 16:25:12 +02:00
defaults.h lvmlockd: configurable sanlock lease sizes on 4K disks 2024-09-27 17:59:03 -05:00