summaryrefslogtreecommitdiff
path: root/make.tmpl.in
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2014-09-18 00:40:45 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2014-09-18 00:48:06 +0200
commit6d21438d0c64267ac11b4825ad719c458b80059e (patch)
treefe56de7466ad2f965d291796c70c45d5a50a0d01 /make.tmpl.in
parent31548e4e7c4e3ae3b2f04b7b32491617ec7181d0 (diff)
downloadlvm2-6d21438d0c64267ac11b4825ad719c458b80059e.tar.gz
debug: catch mmap with -DDEBUG_MEMLOCK
Diffstat (limited to 'make.tmpl.in')
-rw-r--r--make.tmpl.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index 455e9c2bf..7a178ad02 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -214,6 +214,10 @@ endif
#DEFS += -DDEBUG_ENFORCE_POOL_LOCKING
#DEFS += -DBOUNDS_CHECK
+# LVM is not supposed to use mmap while devices are suspended.
+# This code causes a core dump if gets called.
+#DEFS += -DDEBUG_MEMLOCK
+
#CFLAGS += -pg
#LDFLAGS += -pg