1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00
lvm2/lib
Zdenek Kabelac afdbb28f72 toolcontext: light context missed to set-up mem mempool
If cmd->mem was null, then systemd generator was failing on:

(gdb) bt
dm_pool_alloc_aligned (p=0x0, s=96, alignment=8) at mm/pool-fast.c:95
dm_pool_alloc (p=0x0, s=96) at mm/pool-fast.c:90
dm_pool_zalloc (p=0x0, s=96) at mm/pool.c:74
config_file_read_fd (mem=0x0, cft=0x55f4339dbad0, dev=0x55f4339dfac0, reason=DEV_IO_MDA_CONTENT, offset=0, size=82293, offset2=0, size2=0,
    checksum_fn=0x0, checksum=0, checksum_only=0, no_dup_node_check=0, ioflags=0, config_file_read_fd_callback=0x0, config_file_read_fd_context=0x0) at config/config.c:567
config_file_read (mem=0x0, cft=0x55f4339dbad0) at config/config.c:658
config_file_open_and_read (config_file=0x7f49aef14540 <config_file> "/var/tmp/lvm/etc/lvm/lvm.conf", source=CONFIG_FILE, cmd=0x55f4339d6260)
    at config/config.c:282
_load_config_file (cmd=0x55f4339d6260, tag=0x7f49aeca15da "", local=0) at commands/toolcontext.c:824
_init_lvm_conf (cmd=0x55f4339d6260) at commands/toolcontext.c:853
create_config_context () at commands/toolcontext.c:1814
lvm_config_find_bool (libh=0x0, config_path=0x55f431a884ad "global/use_lvmetad", fail=0) at lvm_base.c:144
main ()
2018-02-12 22:13:53 +01:00
..
activate pvmove: reinstantiate clustered pvmove 2018-02-01 21:55:20 +01:00
cache device: Fix basic async I/O error handling 2018-02-08 20:19:21 +00:00
cache_segtype cache: fix lvdisplay output 2017-06-22 20:17:18 +02:00
commands toolcontext: light context missed to set-up mem mempool 2018-02-12 22:13:53 +01:00
config device: Fix basic async I/O error handling 2018-02-08 20:19:21 +00:00
datastruct datastruct: Add str_list_wipe. 2016-04-29 19:47:15 +01:00
device device: Fix basic async I/O error handling 2018-02-08 20:19:21 +00:00
display coverity: validate retval from get_only_segment_using_this_lv 2017-06-27 00:27:36 +02:00
error activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
filters config: Split config buffer processing into new fn. 2018-01-02 21:10:46 +00:00
format1 callbacks: Miscellaneous fixes for recent changes 2018-02-06 01:09:39 +00:00
format_pool callbacks: Miscellaneous fixes for recent changes 2018-02-06 01:09:39 +00:00
format_text format_text: Use versionsort to sort archive files 2018-02-09 01:08:55 +00:00
freeseg doc: change fsf address 2016-01-21 12:11:37 +01:00
label device: Fix basic async I/O error handling 2018-02-08 20:19:21 +00:00
locking pvmove: reinstantiate clustered pvmove 2018-02-01 21:55:20 +01:00
log device: categorise block i/o 2017-12-04 23:45:26 +00:00
lvmpolld doc: change fsf address 2016-01-21 12:11:37 +01:00
metadata device: Add ioflags parameter to transfer additional state. 2018-01-21 21:10:23 +00:00
mirror pvmove: enhance delayed_resume logic 2017-11-26 00:36:48 +01:00
misc lvm-string: add function to detect component LV suffix 2017-12-19 15:28:07 +01:00
mm activation: keep priority till memlock_unlock 2017-12-08 13:21:15 +01:00
notify dbus: also recognize error state for missing service that comes from original D-Bus 2016-11-15 10:09:11 +01:00
properties doc: change fsf address 2016-01-21 12:11:37 +01:00
raid raid: protect raid4 activation 2017-11-11 00:56:10 +01:00
report tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
snapshot activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
striped striped: implement compatible target name 2016-12-05 17:02:01 +01:00
thin thin: add new ZERO/DISCARDS_UNSELECTED 2017-03-10 19:33:00 +01:00
unknown doc: change fsf address 2016-01-21 12:11:37 +01:00
uuid cleanup :drop unneeded header file 2016-10-03 17:49:56 +02:00
zero activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
Makefile.in liblvm: Move lib code used exclusively into metadata-liblvm.c 2017-10-18 19:29:32 +01:00