All of lore.kernel.org
 help / color / mirror / Atom feed
From: swise@opengridcomputing.com (Steve Wise)
Subject: nvme/rdma initiator stuck on reboot
Date: Wed, 17 Aug 2016 10:13:23 -0500	[thread overview]
Message-ID: <075901d1f899$e5cc6f00$b1654d00$@opengridcomputing.com> (raw)
In-Reply-To: <7c4827ff-21c9-21e9-5577-1bd374305a0b@grimberg.me>

> 
> Can this be related due to the fact that we use a signle-threaded
> workqueue for delete/reset/reconnect? (delete cancel_sync the active
> reconnect work...)
> 
> Does this untested patch help?

That seems to do it!


> --
> diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c
> index 8d2875b4c56d..78a47c17fb01 100644
> --- a/drivers/nvme/host/rdma.c
> +++ b/drivers/nvme/host/rdma.c
> @@ -1997,7 +1997,7 @@ static struct nvmf_transport_ops
> nvme_rdma_transport = {
> 
>   static int __init nvme_rdma_init_module(void)
>   {
> -       nvme_rdma_wq = create_workqueue("nvme_rdma_wq");
> +       nvme_rdma_wq = alloc_workqueue("nvme_rdma_wq", 0, 0);
>          if (!nvme_rdma_wq)
>                  return -ENOMEM;
> --

  reply	other threads:[~2016-08-17 15:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-16 19:40 nvme/rdma initiator stuck on reboot Steve Wise
2016-08-17 10:23 ` Sagi Grimberg
2016-08-17 14:33   ` Steve Wise
2016-08-17 14:46     ` Sagi Grimberg
2016-08-17 15:13       ` Steve Wise [this message]
2016-08-18  7:01         ` Sagi Grimberg
2016-08-18 13:59           ` Steve Wise
2016-08-18 14:47             ` Steve Wise
2016-08-18 15:21             ` 'Christoph Hellwig'
2016-08-18 17:59               ` Steve Wise
2016-08-18 18:50                 ` Steve Wise
2016-08-18 19:11                   ` Steve Wise
2016-08-19  8:58               ` Sagi Grimberg
2016-08-19 14:22                 ` Steve Wise
     [not found]                 ` <008001d1fa25$0c960fb0$25c22f10$@opengridcomputing.com>
2016-08-19 14:24                   ` Steve Wise

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='075901d1f899$e5cc6f00$b1654d00$@opengridcomputing.com' \
    --to=swise@opengridcomputing.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.