From: bvanassche@acm.org (Bart Van Assche)
Subject: [PATCH RFC] nvmet-rdma: use a private workqueue for delete
Date: Tue, 23 Oct 2018 12:54:27 -0700 [thread overview]
Message-ID: <1540324467.66186.10.camel@acm.org> (raw)
In-Reply-To: <085ad00de636fd4f3a7c2cccd5d991df11931ead.camel@sipsolutions.net>
On Tue, 2018-10-23@21:18 +0200, Johannes Berg wrote:
> On Mon, 2018-10-22@14:17 -0700, Bart Van Assche wrote:
> > On Mon, 2018-10-22@10:56 +0200, Johannes Berg wrote:
> > > On Fri, 2018-10-19@16:23 +0000, Bart Van Assche wrote:
> > > > On Thu, 2018-10-18@18:08 -0700, Sagi Grimberg wrote:
> > > > > > It seems like this has not yet been fixed entirely. This is what appeared
> > > > > > in the kernel log this morning on my test setup with Christoph's nvme-4.20
> > > > > > branch (commit cb4bfda62afa ("nvme-pci: fix hot removal during error
> > > > > > handling")):
> > >
> > > FWIW, I'm not sure where to find this tree (it's not on kernel.org,
> > > apparently, at least none of hch's?). As a result, I don't have the
> > > correct code here now.
> >
> > Christoph's NVMe tree is available at git://git.infradead.org/nvme.git.
>
> Ok, thanks. I think I'll go off Sagi Grimberg's explanation though
> rather than try to understand the code myself.
Are the lockdep annotations in kernel/workqueue.c correct? My understanding
is that lock_map_acquire() should only be used to annotate mutually exclusive
locking (e.g. mutex, spinlock). However, multiple work items associated with
the same workqueue can be executed concurrently. From lockdep.h:
#define lock_map_acquire(l) lock_acquire_exclusive(l, 0, 0, NULL, _THIS_IP_)
Thanks,
Bart.
next prev parent reply other threads:[~2018-10-23 19:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-27 18:00 [PATCH RFC] nvmet-rdma: use a private workqueue for delete Sagi Grimberg
2018-09-28 22:14 ` Bart Van Assche
2018-10-01 20:12 ` Sagi Grimberg
2018-10-02 15:02 ` Bart Van Assche
2018-10-05 7:25 ` Christoph Hellwig
[not found] ` <CAO+b5-oBVw=-wvnWk1EF=RBaZtjX6bjUG+3WABXbvzX9UTu26w@mail.gmail.com>
2018-10-19 1:08 ` Sagi Grimberg
2018-10-19 16:23 ` Bart Van Assche
2018-10-22 8:56 ` Johannes Berg
2018-10-22 21:17 ` Bart Van Assche
2018-10-23 19:18 ` Johannes Berg
2018-10-23 19:54 ` Bart Van Assche [this message]
2018-10-23 19:59 ` Johannes Berg
2018-10-23 20:00 ` Johannes Berg
2018-10-23 0:40 ` Sagi Grimberg
2018-10-23 19:22 ` Johannes Berg
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=1540324467.66186.10.camel@acm.org \
--to=bvanassche@acm.org \
/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.