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
> <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to