From: Alexey Ishchuk <aishchuk@linux.vnet.ibm.com>
To: dm-devel@redhat.com
Cc: Steffen Maier <maier@linux.vnet.ibm.com>
Subject: [RFC] Modern device mapper module makes problems for dump analysis
Date: Tue, 1 Dec 2015 16:34:53 +0300 [thread overview]
Message-ID: <565DA1FD.3010804@linux.vnet.ibm.com> (raw)
Hi,
in the modern device mapper Linux kernel module the data structure
struct dm_table is declared more than once. One of those declarations is
the real structure definition and the other are dummy definitions. This
coding manner makes serious problems for the Linux kernel dump analysis
with crash utility using custom EPPIC language scripts and even the
dminfo built-in crash extension does not work with the dumps. The
problem occurs because the crash utility tries to expose to the EPPIC
language scripts a dummy structure definition that contains no required
fields.
I would like to get to know, why do we need more than one struct
dm_table declarations in the kernel module? Is it possible to improve
the device mapper kernel module code to have the only one struct
dm_table declaration to allow kernel dumps to be analyzed using custom
scripts?
Best regards,
Alexey Ishchuk
next reply other threads:[~2015-12-01 13:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-01 13:34 Alexey Ishchuk [this message]
2015-12-03 19:31 ` Modern device mapper module makes problems for dump analysis Mike Snitzer
2015-12-04 1:36 ` Mikulas Patocka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=565DA1FD.3010804@linux.vnet.ibm.com \
--to=aishchuk@linux.vnet.ibm.com \
--cc=dm-devel@redhat.com \
--cc=maier@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.