From: "Bhanu Prakash Gollapudi" <bprakash@broadcom.com>
To: Mike Christie <michaelc@cs.wisc.edu>
Cc: "devel@open-fcoe.org" <devel@open-fcoe.org>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: [Open-FCoE] deadlock during fc_remove_host
Date: Thu, 21 Apr 2011 22:47:09 -0700 [thread overview]
Message-ID: <4DB1165D.7020106@broadcom.com> (raw)
In-Reply-To: <4DAFA2CF.2080102@cs.wisc.edu>
On 4/20/2011 8:21 PM, Mike Christie wrote:
> On 04/20/2011 09:53 PM, Mike Christie wrote:
>> Is the reason that rport b's terminate_rport_io has not been called,
>> because that workqueue is queued behind rport a's workqueue and rport
>> b's workqueue function is not called? If so, have you tested this with
>> the current upstream kernel?
>
> Oh wait, I think you also need to change the fc class to use
> alloc_workqueue instead of create_singlethread_workqueue.
>
This seem to work, except that I had to use allow_workqueue with flags
WQ_UNBOUND and max_active set to WQ_UNBOUND_MAX_ACTIVE. It didn't help
With flags 0 and max_active set to 0. Test has been going on for the
last 4 hours. I'll let it run overnight.
Thanks,
Bhanu
next prev parent reply other threads:[~2011-04-22 5:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-21 0:24 deadlock during fc_remove_host Bhanu Prakash Gollapudi
2011-04-21 2:53 ` Mike Christie
2011-04-21 3:21 ` [Open-FCoE] " Mike Christie
2011-04-22 5:47 ` Bhanu Prakash Gollapudi [this message]
2011-04-21 5:32 ` Bhanu Prakash Gollapudi
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=4DB1165D.7020106@broadcom.com \
--to=bprakash@broadcom.com \
--cc=devel@open-fcoe.org \
--cc=linux-scsi@vger.kernel.org \
--cc=michaelc@cs.wisc.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).