1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-11 04:13:46 +03:00
lvm2/lib
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
..
activate cleanup: typos in comments 2024-08-30 16:51:15 +02:00
cache cleanup: typos in comments 2024-08-30 16:51:15 +02:00
cache_segtype metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
commands cleanup: fix typos 2024-09-27 13:42:45 +02:00
config lvmlockd: configurable sanlock lease sizes on 4K disks 2024-09-27 17:59:03 -05:00
datastruct cleanup: eliminate unused assign 2021-03-11 00:18:01 +01:00
device cleanup: replace use of alloced with allocated 2024-09-27 13:42:45 +02:00
display cleanup: typos in comments 2024-08-30 16:51:15 +02:00
error error: try with modprobe 2024-05-27 15:16:26 +02:00
filters cleanup: typos in comments 2024-08-30 16:51:15 +02:00
format_text metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
freeseg device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
integrity metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
label cleanup: typos in comments 2024-08-30 16:51:15 +02:00
locking lvmlockd: configurable sanlock lease sizes on 4K disks 2024-09-27 17:59:03 -05:00
log cleanup: fix typos 2024-09-27 13:42:45 +02:00
lvmpolld cleanup: typos in logging 2024-08-30 16:51:15 +02:00
metadata cleanup: replace use of alloced with allocated 2024-09-27 13:42:45 +02:00
mirror metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
misc cleanup: typos in comments 2024-08-30 16:51:15 +02:00
mm memlock: use value of 0 to disable memory locking 2024-09-27 13:42:45 +02:00
notify cleanup: fix typos 2024-09-27 13:42:45 +02:00
properties cleanup: typos in comments 2024-08-30 16:51:15 +02:00
raid metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
report vdo: depcreate unused settings 2024-09-26 16:25:12 +02:00
snapshot metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
striped metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
thin metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
unknown metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
uuid cleanup: use _ for static var 2024-06-03 15:30:05 +02:00
vdo vdo: depcreate unused settings 2024-09-26 16:25:12 +02:00
writecache metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
zero const: _ops segtype handler 2024-05-04 01:01:57 +02:00
Makefile.in devices: factor common list functions 2022-11-07 11:38:46 -06:00