mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
7f29afdb06
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.) |
||
---|---|---|
.. | ||
config_settings.h | ||
config.c | ||
config.h | ||
defaults.h |