b05147c356
Change patch format to remove Git version * Patches 0001-0122 only have the patch format modified Update to the head of the upstream staging branch plus redhat patches * Patches 0123-0134 & 1036-0142 are from the upstream staging branch * Patches 0143-1046 have been submitted upstream * Patch 0156 is a Red Hat only patch. Red Hat udev rules set ID_SERIAL from 60-persistent-storage.rules instead of 55-scsi-sg3_id.rules. Multipath's parse_vpd_pg83() function needs to match the ID_SERIAL value from udev. Rename files * Previous patches 0123-0132 are now patches 1035 & 0147-0155
60 lines
1.6 KiB
Diff
60 lines
1.6 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Martin Wilck <mwilck@suse.com>
|
|
Date: Thu, 24 Sep 2020 15:13:06 +0200
|
|
Subject: [PATCH] multipath-tools: mpath-tools.supp: file with valgrind
|
|
suppressions
|
|
|
|
These leaks are caused by other libraries (libsystemd, glibc,
|
|
libgcrypt) and should be ignored when debugging with valgrind
|
|
|
|
Usage example:
|
|
|
|
valgrind --suppressions=mpath-tools.supp \
|
|
--leak-check=full --show-leak-kinds=all $COMMAND
|
|
|
|
Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
---
|
|
third-party/valgrind/mpath-tools.supp | 32 +++++++++++++++++++++++++++
|
|
1 file changed, 32 insertions(+)
|
|
create mode 100644 third-party/valgrind/mpath-tools.supp
|
|
|
|
diff --git a/third-party/valgrind/mpath-tools.supp b/third-party/valgrind/mpath-tools.supp
|
|
new file mode 100644
|
|
index 00000000..0537fd56
|
|
--- /dev/null
|
|
+++ b/third-party/valgrind/mpath-tools.supp
|
|
@@ -0,0 +1,32 @@
|
|
+{
|
|
+ glibc _dlerror_run leak: https://stackoverflow.com/questions/1542457/memory-leak-reported-by-valgrind-in-dlopen
|
|
+ Memcheck:Leak
|
|
+ match-leak-kinds: reachable
|
|
+ fun:calloc
|
|
+ fun:_dlerror_run
|
|
+ fun:dlopen*
|
|
+}
|
|
+
|
|
+{
|
|
+ systemd mempools are never freed: https://bugzilla.redhat.com/show_bug.cgi?id=1215670
|
|
+ Memcheck:Leak
|
|
+ match-leak-kinds: reachable
|
|
+ fun:malloc
|
|
+ fun:mempool_alloc_tile
|
|
+ fun:mempool_alloc0_tile
|
|
+ fun:hashmap_base_new
|
|
+ fun:hashmap_base_ensure_allocated
|
|
+}
|
|
+
|
|
+{
|
|
+ libgcrypt library initialization
|
|
+ Memcheck:Leak
|
|
+ match-leak-kinds: reachable
|
|
+ fun:malloc
|
|
+ ...
|
|
+ fun:_gcry_xmalloc
|
|
+ ...
|
|
+ fun:global_init.*
|
|
+ ...
|
|
+ fun:_dl_init
|
|
+}
|