linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bart Van Assche <bart.vanassche@sandisk.com>
To: Sagi Grimberg <sagig@dev.mellanox.co.il>,
	Sagi Grimberg <sagig@mellanox.com>,
	"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>
Cc: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>,
	"Nicholas A. Bellinger" <nab@linux-iscsi.org>
Subject: Re: [PATCH v1 00/24] New fast registration API
Date: Thu, 1 Oct 2015 10:53:16 -0700	[thread overview]
Message-ID: <560D730C.9000302@sandisk.com> (raw)
In-Reply-To: <560CDDBC.8000400@dev.mellanox.co.il>

On 10/01/2015 12:16 AM, Sagi Grimberg wrote:
>
>>>> Just this morning (my morning) I tested the v2 set on iser, srp, nfs. I
>>>> placed that in branch reg_api.5. Would you mind running reg_api.5 and
>>>> see if this issue persist (I would be surprised because I haven't seen
>>>> any sign of it)?
>>>
>>> Sorry but I still see these messages with the reg_api.5 branch.
>>> [root@ib-ini linux-kernel]# git show HEAD | grep ^commit
>>> commit 3b5b34777d3cd606433f0aca51e3885323648e07
>>> [root@ib-ini linux-kernel]# uname -a
>>> Linux ib-ini 4.2.0-rc6-debug+ #1 SMP Wed Sep 30 11:38:36 PDT 2015 x86_64
>>> x86_64 x86_64 GNU/Linux
>>>
>>> I will try to run a bisect.
>>
>> (replying to my own e-mail)
>>
>> Apparently this behavior got introduced through the patch "IB/srp:
>> Convert to new registration API" (commit
>> ad66cbace5ca8c60673bedf35e5027868b0dd2d7). Without that patch SRP I/O
>> works fine. With that patch I see receive failures being reported. The
>> SRP initiator was loaded on my setup with the following kernel driver
>> options:
>>
>> # cat /etc/modprobe.d/ib_srp.conf
>> options ib_srp cmd_sg_entries=255 prefer_fr=1 register_always=1
>
> Strange. I don't see that.
>
> options ib_srp prefer_fr=1 register_always=1 are set by default.
>
> When I try to connect srp initiator against upstream srpt with
> cmd_sg_entries=255 I get CM reject on iu max size:
> kernel: scsi host17: ib_srp: REJ received
> kernel: scsi host17: ib_srp: SRP_LOGIN_REJ: requested max_it_iu_len too
> large
> kernel: scsi host17: ib_srp: Connection 0/8 failed
> kernel: scsi host17: ib_srp: Sending CM DREQ failed
>
> When I connect with cmd_sg_entries=128 I successfully connect:
> kernel: scsi host18: SRP.T10:F452140300117400
> kernel: scsi 18:0:0:0: Direct-Access     LIO-ORG  RAMDISK-MCP      4.0
> PQ: 0 ANSI: 5
> kernel: scsi host18: ib_srp: new target: id_ext f452140300117400
> ioc_guid f452140300117400 pkey ffff service_id f452140300117400 sgid
> fe80:0000:0000:0000:f452:1403:0011:7411 dgid
> fe80:0000:0000:0000:f452:1403:0011:7401
> kernel: sd 18:0:0:0: [sdy] 20480 512-byte logical blocks: (10.4 MB/10.0 MiB)
> kernel: sd 18:0:0:0: [sdy] Write Protect is off
> kernel: sd 18:0:0:0: [sdy] Mode Sense: 43 00 00 08
> kernel: sd 18:0:0:0: [sdy] Write cache: disabled, read cache: enabled,
> doesn't support DPO or FUA
> kernel: sd 18:0:0:0: [sdy] Attached SCSI disk
>
> I wander what is the difference between our test environments? I can't
> look into this if I'm not able to reproduce.

Hello Sagi,

At the target side I see "Sep 30 12:56:06 ibdev1 kernel: [178664.300296] 
ib_srpt: RDMA t 5 for idx 0 failed with status 10." (status 10 
corresponds to IB_WC_REM_ACCESS_ERR). I will try to determine the root 
cause.

Bart.

  reply	other threads:[~2015-10-01 17:53 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-17  9:42 [PATCH v1 00/24] New fast registration API Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 01/24] IB/core: Introduce new " Sagi Grimberg
2015-09-22 21:21   ` Bart Van Assche
2015-09-24  7:37     ` Sagi Grimberg
2015-09-28 20:57       ` Bart Van Assche
2015-09-29  5:59         ` Christoph Hellwig
2015-09-29  6:47           ` Sagi Grimberg
2015-09-29  6:49             ` Sagi Grimberg
2015-09-29  6:42         ` Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 02/24] IB/mlx5: Remove dead fmr code Sagi Grimberg
2015-09-22 21:24   ` Bart Van Assche
2015-09-17  9:42 ` [PATCH v1 03/24] IB/mlx5: Support the new memory registration API Sagi Grimberg
2015-09-22 21:27   ` Bart Van Assche
2015-09-24  7:39     ` Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 04/24] IB/mlx4: " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 05/24] RDMA/ocrdma: " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 06/24] RDMA/cxgb3: " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 07/24] iw_cxgb4: " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 08/24] IB/qib: " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 09/24] RDMA/nes: " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 10/24] IB/iser: Port to new fast " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 11/24] iser-target: Port to new memory " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 12/24] xprtrdma: " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 13/24] svcrdma: " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 14/24] RDS/IW: Convert " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 15/24] IB/srp: " Sagi Grimberg
2015-09-22 21:58   ` Bart Van Assche
2015-09-24  9:06     ` Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 16/24] IB/mlx5: Remove old FRWR API support Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 17/24] IB/mlx4: " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 18/24] RDMA/ocrdma: Remove old FRWR API Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 19/24] RDMA/cxgb3: " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 20/24] iw_cxgb4: " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 21/24] IB/qib: " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 22/24] RDMA/nes: " Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 23/24] IB/hfi1: Remove Old fast registraion API support Sagi Grimberg
2015-09-17  9:42 ` [PATCH v1 24/24] IB/core: Remove old fast registration API Sagi Grimberg
2015-09-19 22:45 ` [PATCH v1 00/24] New " Christoph Hellwig
2015-09-24  6:53   ` Sagi Grimberg
2015-09-24 13:39     ` Christoph Hellwig
2015-09-19 23:20 ` santosh.shilimkar
2015-09-20  9:36   ` Sagi Grimberg
2015-09-21 23:28     ` santosh.shilimkar
2015-09-22  7:19       ` Sagi Grimberg
2015-09-22  7:56         ` Sagi Grimberg
2015-09-22 18:23           ` santosh shilimkar
2015-09-22 21:22 ` Bart Van Assche
2015-09-24  7:40   ` Sagi Grimberg
2015-09-29 19:03 ` Bart Van Assche
2015-09-29 20:58   ` Sagi Grimberg
2015-09-30  6:47     ` Sagi Grimberg
2015-09-30 18:59     ` Bart Van Assche
2015-09-30 20:15       ` Bart Van Assche
2015-10-01  7:16         ` Sagi Grimberg
2015-10-01 17:53           ` Bart Van Assche [this message]
2015-10-01 20:58             ` Bart Van Assche
     [not found]               ` <35618B90-4D6E-4036-A69B-4405F020D440@dev.mellanox.co.il>
2015-10-02 15:37                 ` Bart Van Assche
2015-10-06  8:37                   ` Sagi Grimberg
2015-10-06 18:49                     ` Bart Van Assche
2015-10-07  6:42                       ` Sagi Grimberg
2015-10-07 15:46                         ` Bart Van Assche
2015-10-07 15:48                           ` Sagi Grimberg
2015-10-07  9:20                     ` Christoph Hellwig
2015-10-07  9:25                       ` Sagi Grimberg
2015-10-07  9:36                         ` Christoph Hellwig
2015-10-07 10:00                           ` Sagi Grimberg
2015-10-07 16:30                       ` Bart Van Assche

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=560D730C.9000302@sandisk.com \
    --to=bart.vanassche@sandisk.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=nab@linux-iscsi.org \
    --cc=sagig@dev.mellanox.co.il \
    --cc=sagig@mellanox.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).