All of lore.kernel.org
 help / color / mirror / Atom feed
* T10 PI offloading seems to be broken in iser/isert in 4.5/4.6-rc
@ 2016-04-08 22:15 Christoph Hellwig
  2016-04-08 23:48 ` Nicholas A. Bellinger
  0 siblings, 1 reply; 9+ messages in thread
From: Christoph Hellwig @ 2016-04-08 22:15 UTC (permalink / raw)
  To: sagig; +Cc: linux-rdma, target-devel

Hi all,

I've recently started looking into adding support for signature MRs
in the RDMA R/W API, but it seems like it's already broken upstream.

I suspect it's the target that's at fault, but I'm not sure.  I've
tested 4.5 and todays 4.6-rc tree on both the target and the client
side.

The setup is pretty simple: on the target I've loaded scsi_debug
with dif=1 and dix=1, and set I've set fabric_prot_type=1, t10_pi=1
and ImmediateData to No on the tpg, and then did a simple mkfs.ext4.

Just doing the login I get the following error on the target:

[  369.890182] Bad block size given: 0
[  369.894131] mlx5_0:mlx5_ib_post_send:3296:(pid 331): 
[  369.894228] isert: isert_reg_sig_mr: fast registration failed, ret:-22
[  369.901580] isert: isert_handle_prot_cmd: conn ffff880904d54000 failed to fast reg mr
[  369.906348] iSCSI/iqn.1993-08.org.debian:01:197dad5d1f17: Unsupported SCSI Opcode 0xa3, sending CHECK_CONDITION.
[  369.910395] isert: isert_put_datain: Cmd: ffff880902b26b00 failed to prepare RDMA res

If I then do an actual I/O think go downhill quickly.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-04-10 15:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-08 22:15 T10 PI offloading seems to be broken in iser/isert in 4.5/4.6-rc Christoph Hellwig
2016-04-08 23:48 ` Nicholas A. Bellinger
2016-04-09  0:14   ` Christoph Hellwig
2016-04-09  2:36     ` Nicholas A. Bellinger
2016-04-09  4:58       ` Christoph Hellwig
     [not found]         ` <20160409045846.GA9269-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2016-04-10  8:53           ` Sagi Grimberg
2016-04-10 14:37             ` Christoph Hellwig
2016-04-10 15:30               ` Sagi Grimberg
     [not found]       ` <1460169374.5010.4.camel-XoQW25Eq2zviZyQQd+hFbcojREIfoBdhmpATvIKMPHk@public.gmane.org>
2016-04-10  8:42         ` sagig

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.