From: Mike Snitzer <snitzer@redhat.com>
To: Ben Collins <ben.c@servergy.com>
Cc: dm-devel@redhat.com, Mikulas Patocka <mpatocka@redhat.com>,
Milan Broz <gmazyland@gmail.com>,
Alasdair Kergon <agk@redhat.com>
Subject: Re: [PATCH v2] dm crypt: fix deadlock when algo returns -EBUSY
Date: Fri, 10 Apr 2015 11:11:14 -0400 [thread overview]
Message-ID: <20150410151113.GA16795@redhat.com> (raw)
In-Reply-To: <BA6189A5-1C3D-4A43-B494-D6FEC7200E7D@servergy.com>
On Tue, Apr 07 2015 at 1:10pm -0400,
Ben Collins <ben.c@servergy.com> wrote:
>
> > On Apr 7, 2015, at 11:28 AM, Mike Snitzer <snitzer@redhat.com> wrote:
> >
> > On Tue, Apr 07 2015 at 11:55P -0400,
> > Mike Snitzer <snitzer@redhat.com> wrote:
> >
> >> It looks like you're _always_ using the completion regardless of whether
> >> crypt_convert() will be waiting (e.g. even if error is 0).
> >>
> >> I can see this "working" but it seems less than ideal. Would it be
> >> better to record the need to use the completion in ctx and then
> >> conditionally call complete()?
> >
> > Actually, how about using !completion_done() before calling complete()?
> > If you think this would be OK, any chance you could re-test with this?
>
> I'll be able to test it before Friday (out of town). Thanks
Hi Ben,
I'm still waiting for test feedback from you on v2. Fairly certain
you'll have the same results but I'd like to be certain before pushing
this upstream.
Thanks,
Mike
next prev parent reply other threads:[~2015-04-10 15:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-03 16:09 [PATCH] dm-crypt: Fix deadlock when algo returns -EBUSY Ben Collins
2015-04-07 15:55 ` Mike Snitzer
2015-04-07 16:28 ` [PATCH v2] dm crypt: fix " Mike Snitzer
2015-04-07 17:10 ` Ben Collins
2015-04-10 15:11 ` Mike Snitzer [this message]
2015-04-10 15:12 ` Ben Collins
2015-04-10 17:56 ` Ben Collins
2015-04-10 19:52 ` Mike Snitzer
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=20150410151113.GA16795@redhat.com \
--to=snitzer@redhat.com \
--cc=agk@redhat.com \
--cc=ben.c@servergy.com \
--cc=dm-devel@redhat.com \
--cc=gmazyland@gmail.com \
--cc=mpatocka@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.