From: David Teigland <teigland@redhat.com>
To: lvm-devel@redhat.com
Subject: Reg a deadlock specific to our environment
Date: Thu, 13 Jan 2022 08:52:26 -0600 [thread overview]
Message-ID: <20220113145226.GA436@redhat.com> (raw)
In-Reply-To: <CAFe+wq18h3W3DwmR-n6v=0cPm4XgiwRsjkq4260uRYyNhAx9Aw@mail.gmail.com>
On Wed, Jan 12, 2022 at 05:10:40PM +0530, Lakshmi Narasimhan Sundararajan wrote:
> In such a scenario, when our user space storage application gets restarted,
> there are calls to sanitize the storage backend. This involves reading the
> thin pool information. This internally, does a vg open call, which ends up
> READing to all dm devices, resulting in a deadlock during startup.
> To overcome this situation, I extended a filter to ignore all devices that
> have pxd naming part of it. This solves the problem for us.
>
> Is there a better way to handle our deadlock situation?
Hi,
We need more details to understand this. Which command is run that gets
stuck (any?), and can you send the output of that command with -vvvv?
By deadlock do you mean the lvm command blocks reading it? What are the
details of this device? Is it a dm device, and if so can you show how we
could create one here using dmsetup, or is it using a custom dm target?
Do you know why the command blocks, e.g. is the device suspended?
> Is the below posted solution good to be merged back into master?
I don't think that looks like the right solution.
Dave
next prev parent reply other threads:[~2022-01-13 14:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-12 11:40 Reg a deadlock specific to our environment Lakshmi Narasimhan Sundararajan
2022-01-13 14:52 ` David Teigland [this message]
2022-01-26 13:11 ` Lakshmi Narasimhan Sundararajan
2022-01-26 16:40 ` David Teigland
2022-01-27 10:32 ` Lakshmi Narasimhan Sundararajan
2022-01-27 17:50 ` David Teigland
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=20220113145226.GA436@redhat.com \
--to=teigland@redhat.com \
--cc=lvm-devel@redhat.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.