From: "Nicholas A. Bellinger" <nab-IzHhD5pYlfBP7FQvKIMDCQ@public.gmane.org>
To: Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>
Cc: linux-rdma <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Roland Dreier <roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org>,
Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org>,
Vu Pham <vu-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
David Dillow <dillowda-1Heg1YXhbW8@public.gmane.org>
Subject: Re: [PATCH] ib_srpt: Initial SRP Target merge for v3.2-rc1
Date: Wed, 19 Oct 2011 11:35:35 -0700 [thread overview]
Message-ID: <1319049335.18132.34.camel@haakon2.linux-iscsi.org> (raw)
In-Reply-To: <CAO+b5-orW-iK6WiGAt8Ovd1g64e628tcOh13D5xA67SfJ-W-Vg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Wed, 2011-10-19 at 19:56 +0200, Bart Van Assche wrote:
> On Fri, Oct 14, 2011 at 3:48 AM, Nicholas A. Bellinger
> <nab-IzHhD5pYlfBP7FQvKIMDCQ@public.gmane.org> wrote:
> > This patch adds the kernel module ib_srpt SCSI RDMA Protocol (SRP) target
> > implementation conforming to the SRP r16a specification for the mainline
> > drivers/target infrastructure as requested by Christoph for an initial
> > v3.2-rc1 merge.
>
> Issues that have been fixed in the SCST source tree but not yet in the
> LIO source tree:
> - Handling error completions for failed multipart RDMA transfers
> causes trouble (fixed in r3632 in the SCST repository).
> - srpt_map can cause memory corruption (fixed in r3262 in the SCST repository).
>
OK thanks for the update here.. I'll have a look at getting these two
bugfixes merged into lio-core-2.6.git and respun for an initial ib_srpt
merge.
> Issues introduced in the LIO source tree:
> - Using 128 bits for identifying a port seems overkill to me - 64 bits
> is sufficient.
Well, the reason I used 128 bits for the port name is because your
original patch used 128 bits for the explict Node ACL port name and I
wanted things to be consistent.
That said, using rtslib + targetcli these are automatically extracted
from /sys/class/infiniband/*/ports/*/gids/0 via ib_srpt.spec here:
http://www.risingtidesystems.com/git/?p=rtslib.git;a=blob;f=specs/ib_srpt.spec;h=e42eec906accbe5670a38590cdcf63bba018667c;hb=HEAD
so the end-user does not actually have to type the target port name in
manually, ever. I'd much rather keep these two consistent with 128 bit
port names following your original code, and let rtslib do the extra
formatting as necessary.
> Also, there is no guarantee that the formula used for
> computing the port GID (node GUID + port number) will match the port
> GID.
Not sure what you mean here. Can you be more specific..?
> - srpt_make_nodeacl() returns 0 instead of an error code if
> srpt_alloc_fabric_acl() fails.
Ok, will get this fixed up..
> - The headers of srpt_make_tport() and srpt_drop_tport() should be
> updated such that these read "$driver/$port" instead of
> "$driver/$target".
>
Will do.
Thanks for the feedback!
--nab
--
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:[~2011-10-19 18:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-14 1:48 [PATCH] ib_srpt: Initial SRP Target merge for v3.2-rc1 Nicholas A. Bellinger
[not found] ` <1318556901-14850-1-git-send-email-nab-IzHhD5pYlfBP7FQvKIMDCQ@public.gmane.org>
2011-10-19 17:56 ` Bart Van Assche
[not found] ` <CAO+b5-orW-iK6WiGAt8Ovd1g64e628tcOh13D5xA67SfJ-W-Vg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-10-19 18:35 ` Nicholas A. Bellinger [this message]
[not found] ` <1319049335.18132.34.camel-Y1+j5t8j3WgjMeEPmliV8E/sVC8ogwMJ@public.gmane.org>
2011-10-19 18:47 ` Bart Van Assche
[not found] ` <CAO+b5-oJ38L7t=spKQPnEZxNOA6zoqG9DA3uw9q+eOTVvELRUA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-10-19 19:09 ` Nicholas A. Bellinger
[not found] ` <1319051341.18132.53.camel-Y1+j5t8j3WgjMeEPmliV8E/sVC8ogwMJ@public.gmane.org>
2011-10-19 19:47 ` Jason Gunthorpe
[not found] ` <20111019194748.GA12501-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2011-10-20 6:22 ` Bart Van Assche
2011-10-20 6:24 ` Bart Van Assche
[not found] ` <CAO+b5-quJkZdSsAmL1gZz1V6mwB3Q8abOu_Q+96MxO89bhg6EA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-10-20 16:47 ` Roland Dreier
2011-10-20 16:49 ` Roland Dreier
2011-11-11 11:41 ` Bart Van Assche
[not found] ` <CAO+b5-oX94=81Gdr2cs0VFoF8Yb+B1DAT2Z+h2UeP6q111Rv7g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-12 21:31 ` Nicholas A. Bellinger
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=1319049335.18132.34.camel@haakon2.linux-iscsi.org \
--to=nab-izhhd5pylfbp7fqvkimdcq@public.gmane.org \
--cc=bvanassche-HInyCGIudOg@public.gmane.org \
--cc=dillowda-1Heg1YXhbW8@public.gmane.org \
--cc=hch-jcswGhMUV9g@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=roland-BHEL68pLQRGGvPXPguhicg@public.gmane.org \
--cc=vu-VPRAkNaXOzVWk0Htik3J/w@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