1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Zdenek Kabelac d19235993e cache: check module in modules builtin
Instead of parsing the whole /proc/kallsyms use faster variant
of using modprobe tool logic.

lvm2 here wants to know whether the particular DM cache policy is
present in the kernel - however since the cache policy does not have
any kernel module parameters and it can be built-in to a kernel
there is no /sys/modules directory in such case and we would need to call
modprobe everytime we want detect such case.

The old solution tried to look for particular kernel symbol
(and like not the right way, as smq_exit might be actually ommitted).

New version checks MODULES_PATH/`uname -r`/modules.builtin for
whether is present cache policy module instead of CPU expensive parsing
of kallsyms.
2024-02-19 14:20:39 +01:00
..
activate cache: check module in modules builtin 2024-02-19 14:20:39 +01:00
cache pvs, pvscan: new option -A to show PVs outside the devices file 2023-11-16 08:45:46 -06:00
cache_segtype cache: check module in modules builtin 2024-02-19 14:20:39 +01:00
commands devices file: back up each version 2024-02-15 11:40:37 -06:00
config devices file: back up each version 2024-02-15 11:40:37 -06:00
datastruct cleanup: eliminate unused assign 2021-03-11 00:18:01 +01:00
device devices file: rename unused system.devices 2024-02-15 11:40:37 -06:00
display gcc: correct signess comparation 2023-07-13 21:31:18 +02:00
error device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
filters filters: fix condition 2023-10-18 02:19:15 +02:00
format_text archiving: Fix doubled filename in vgcfgrestore 2024-01-24 14:11:19 +01:00
freeseg device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
integrity cleanup: no backtraces needed after log_error 2021-03-10 01:11:52 +01:00
label device_id: improve validate debug messages 2023-11-02 11:46:31 -05:00
locking lvmlockd: let lockd_init_lv_args set lock_args 2023-08-16 15:29:20 -05:00
log debug: correcting check for error 2023-09-26 01:23:00 +02:00
lvmpolld device usage based on devices file 2021-02-23 16:43:32 -06:00
metadata vdo: read VDO stats via dm message 2024-02-19 14:20:39 +01:00
mirror lv_info: missing check for info.exists 2021-03-14 16:34:38 +01:00
misc lvm-exec: refactor code 2023-07-17 12:44:23 +02:00
mm mm: add libzstd to ignore list 2023-07-15 11:05:06 +02:00
notify debug: check for syscalls 2023-09-03 22:03:33 +02:00
properties build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
raid cleanup: reduce code dupliction 2021-03-19 23:21:18 +01:00
report devices: refresh device ids if the system changes 2023-09-27 15:22:11 -05:00
snapshot typo: fixes 2021-02-08 23:53:41 +01:00
striped device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
thin thin: rename internal function 2022-08-30 13:54:19 +02:00
unknown device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
uuid asan: fix some reports from libasan 2022-02-07 20:02:11 +01:00
vdo vdo: indent for lvdisplay 2023-06-29 13:10:42 +02:00
writecache writecache: support settings metadata_only and pause_writeback 2022-12-08 16:53:36 -06:00
zero device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
Makefile.in devices: factor common list functions 2022-11-07 11:38:46 -06:00