From: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>
To: Sebastian Riemer
<sebastian.riemer-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
Cc: Vasiliy Tolstov
<v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org>,
Dongsu Park <dongsu.park-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
David Dillow <dillowda-1Heg1YXhbW8@public.gmane.org>,
Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
scst-devel
<scst-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [ANNOUNCE] SRP: ProfitBricks publishes its SRP Initiator patches
Date: Mon, 06 May 2013 11:44:17 +0200 [thread overview]
Message-ID: <51877B71.3080202@acm.org> (raw)
In-Reply-To: <51876D79.50003-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
On 05/06/13 10:44, Sebastian Riemer wrote:
> Sorry Bart, but a reconnect with just the commit message
> "IB/srp: Add kernel-level transport layer recovery" and no further
> description isn't very trustworthy for me. I also wonder why you need so
> much locking.
Hello Sebastian,
There is a very good reason for all that locking: during device removal
the rport structure is freed before SCSI host removal finished. So when
converting a SCSI host pointer into an rport pointer protection is
needed against device removal. The current approach in the
ib_srp-backport repository is to realize that protection via locking.
I'm currently reworking that approach into protection via reference
counting such that it is guaranteed that the rport remains to exist
until scsi_remove_device() has finished. That will allow to eliminate
several locking statements.
Sorry for the terse patch descriptions - I had not expected that anyone
would try to understand the patches ib_srp-backport repository and use
these as a basis for further work.
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-05-06 9:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-12 11:19 [ANNOUNCE] SRP: ProfitBricks publishes its SRP Initiator patches Sebastian Riemer
[not found] ` <5167EDC8.3030909-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2013-04-30 7:34 ` Vasiliy Tolstov
[not found] ` <CACaajQs0PswMb5KhpSkE1=_Sd1SwX2BznZP9x1FCkEk6ukJYrA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-05-03 11:45 ` Bart Van Assche
[not found] ` <CACaajQtQk0YJ3g0G5PyOue0qG3SzhaW3qmXj_TLqYDVqzKwJXQ@mail.gmail.com>
[not found] ` <CACaajQtQk0YJ3g0G5PyOue0qG3SzhaW3qmXj_TLqYDVqzKwJXQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-05-06 8:44 ` Sebastian Riemer
[not found] ` <51876D79.50003-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2013-05-06 9:44 ` Bart Van Assche [this message]
[not found] ` <51877B71.3080202-HInyCGIudOg@public.gmane.org>
2013-05-08 15:41 ` Sebastian Riemer
[not found] ` <518A7233.9070400-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2013-05-14 10:00 ` Vasiliy Tolstov
[not found] ` <CACaajQun61QAM0qqwadWECSFO7UxUaOrdO1-0vGLPQBjdwdMyw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-05-14 16:11 ` Sebastian Riemer
2013-05-14 16:31 ` Bart Van Assche
[not found] ` <519266CA.2010306-HInyCGIudOg@public.gmane.org>
2013-05-15 5:12 ` Vasiliy Tolstov
[not found] ` <CACaajQt2V1Y-fQFmXyyAJk57KahbMwBqvEGoF7sug5F1hYyWGw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-05-15 10:47 ` Sebastian Riemer
2013-05-15 15:56 ` Bart Van Assche
[not found] ` <5193B040.5040802-HInyCGIudOg@public.gmane.org>
2013-05-16 6:51 ` Vasiliy Tolstov
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=51877B71.3080202@acm.org \
--to=bvanassche-hinycgiudog@public.gmane.org \
--cc=dillowda-1Heg1YXhbW8@public.gmane.org \
--cc=dongsu.park-EIkl63zCoXaH+58JC4qpiA@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=scst-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=sebastian.riemer-EIkl63zCoXaH+58JC4qpiA@public.gmane.org \
--cc=v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox