[PATCH 0/6] SRP initiator patches for kernel 3.15

2014-02-20 Thread Bart Van Assche
This patch series includes the following six patches: 0001-scsi_transport_srp-Fix-two-kernel-doc-warnings.patch 0002-IB-srp-Add-more-logging.patch 0003-IB-srp-Fail-SCSI-commands-silently.patch 0004-IB-srp-Avoid-duplicate-connections.patch

[PATCH 1/6] scsi_transport_srp: Fix two kernel-doc warnings

2014-02-20 Thread Bart Van Assche
This patch fixes the following two kernel-doc warnings: Warning(drivers/scsi/scsi_transport_srp.c:819): No description found for parameter 'rport' Warning(include/scsi/scsi_transport_srp.h:75): Excess struct/union/enum/typedef member 'deleted' description in 'srp_rport' Signed-off-by: Bart Van

[PATCH 3/6] IB/srp: Fail SCSI commands silently

2014-02-20 Thread Bart Van Assche
Do not log SCSI command failures that are the result of a transport layer failure, a SCSI abort or SCSI reset. This patch is a slightly modified version of a patch posted by Sebastian Riemer in March 2013 (see also http://thread.gmane.org/gmane.linux.drivers.rdma/15020/). This patch avoids that a

[PATCH 4/6] IB/srp: Avoid duplicate connections

2014-02-20 Thread Bart Van Assche
The connection uniqueness check is performed before a new connection is added to the target list. This patch protects both actions by a mutex such that simultaneous writes from two different threads into the add_target variable do not result in duplicate connections. Signed-off-by: Bart Van

[PATCH 5/6] IB/srp: Make writing into the add_target sysfs attribute interruptible

2014-02-20 Thread Bart Van Assche
Avoid that stopping srp_daemon takes unusually long due to a cable pull by making writing into the add_target sysfs attribute interruptible. Signed-off-by: Bart Van Assche bvanass...@acm.org Cc: Sagi Grimberg sa...@mellanox.com Cc: Sebastian Riemer sebastian.rie...@profitbricks.com Cc: Roland

[PATCH 6/6] IB/srp: Avoid that writing into add_target hangs due to a cable pull

2014-02-20 Thread Bart Van Assche
If a cable is pulled while srp_connect_target() is in progress that can result in that function never to return. That makes the process, e.g. srp_daemon, that invoked this function unkillable. Avoid this by letting srp_connect_target() finish if the event IB_CM_TIMEWAIT_EXIT is received. This

[PATCH 2/6] IB/srp: Add more logging

2014-02-20 Thread Bart Van Assche
Log sgid and dgid when reporting that a login has been rejected or when a host has been added. This makes it easy to figure out which initiator and target ports these messages apply to. Signed-off-by: Bart Van Assche bvanass...@acm.org Cc: Sagi Grimberg sa...@mellanox.com Cc: Sebastian Riemer

Re: [PATCH 3/6] IB/srp: Fail SCSI commands silently

2014-02-20 Thread Bart Van Assche
On 02/20/14 11:52, Bart Van Assche wrote: Do not log SCSI command failures that are the result of a transport layer failure, a SCSI abort or SCSI reset. This patch is a slightly modified version of a patch posted by Sebastian Riemer in March 2013 (see also

Re: [PATCH 1/6] scsi_transport_srp: Fix two kernel-doc warnings

2014-02-20 Thread Sebastian Riemer
On 20.02.2014 11:51, Bart Van Assche wrote: This patch fixes the following two kernel-doc warnings: Warning(drivers/scsi/scsi_transport_srp.c:819): No description found for parameter 'rport' Warning(include/scsi/scsi_transport_srp.h:75): Excess struct/union/enum/typedef member 'deleted'

Re: [PATCH v2 00/12] T10-DIF Initial support for iSER target

2014-02-20 Thread Sagi Grimberg
On 2/20/2014 1:14 AM, Nicholas A. Bellinger wrote: On Wed, 2014-02-19 at 17:50 +0200, Sagi Grimberg wrote: Hey Nic, I addressed your comments in the this set. I'll try to send the initiator code for review in the next couple of days. This patchset introduces target side T10-PI offload support

[PATCH 1/2] IB/qib: Fix potential buffer overrun in sending diag packet routine.

2014-02-20 Thread Dennis Dalessandro
Guards against a potential buffer overrun. Right now the qib driver is protected by the fact that the data structure in question is only 16 bits. Should that ever change the problem will be exposed. There is a similar defect in the ipath driver and this brings the two code paths into sync.

Re: [PATCH] IB/mlx5: Fix mkey flag wrong assignment

2014-02-20 Thread Nicholas A. Bellinger
On Thu, 2014-02-20 at 19:43 +0200, Sagi Grimberg wrote: Signed-off-by: Sagi Grimberg sa...@mellanox.com --- Applied + squashed into target-pending/rdma-dif for commit: IB/mlx5: Collect signature error completion --nab drivers/infiniband/hw/mlx5/qp.c |2 +- 1 files changed, 1

Re: [PATCH 0/6] SRP initiator patches for kernel 3.15

2014-02-20 Thread Vasiliy Tolstov
2014-02-20 14:50 GMT+04:00 Bart Van Assche bvanass...@acm.org: This patch series includes the following six patches: 0001-scsi_transport_srp-Fix-two-kernel-doc-warnings.patch 0002-IB-srp-Add-more-logging.patch 0003-IB-srp-Fail-SCSI-commands-silently.patch

Re: [PATCH 3/6] IB/srp: Fail SCSI commands silently

2014-02-20 Thread David Dillow
On Thu, 2014-02-20 at 11:52 +0100, Bart Van Assche wrote: Do not log SCSI command failures that are the result of a transport layer failure, a SCSI abort or SCSI reset. This patch is a slightly modified version of a patch posted by Sebastian Riemer in March 2013 (see also

[PATCH 4/4] RDMA/libocrdma: Increment abi version count

2014-02-20 Thread devesh.sharma
From: Devesh Sharma devesh.sha...@emulex.com Increment the driver/library abi version count. Signed-off-by: Devesh Sharma devesh.sha...@emulex.com Signed-off-by: Selvin Xavier selvin.xav...@emulex.com --- src/ocrdma_abi.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 2/4] RDMA/libocrdma: Allow RDMA-READ posted on DPP

2014-02-20 Thread devesh.sharma
From: Devesh Sharma devesh.sha...@emulex.com RDMA-READs can be posted on DPP QP to achive better latancies. Signed-off-by: Devesh Sharma devesh.sha...@emulex.com Signed-off-by: Selvin Xavier selvin.xav...@emulex.com --- src/ocrdma_verbs.c |4 +++- 1 files changed, 3 insertions(+), 1

[PATCH 3/4] RDMA/libocrdma: un-map cqe memory in destroy_cq

2014-02-20 Thread devesh.sharma
From: Devesh Sharma devesh.sha...@emulex.com while calling detroy cq, the host memory used to hold CQEs needs to be unmapped. Signed-off-by: Devesh Sharma devesh.sha...@emulex.com Signed-off-by: Selvin Xavier selvin.xav...@emulex.com --- src/ocrdma_verbs.c |4 1 files changed, 4

[PATCH 1/4] RDMA/libocrdma: eq overflow fix for library

2014-02-20 Thread devesh.sharma
From: Devesh Sharma devesh.sha...@emulex.com EQ overflow avoidance fix for libocrdma. This go hand in hand with the ocrdma patch to avoid EQ full in ocrdma driver. Signed-off-by: Devesh Sharma devesh.sha...@emulex.com Signed-off-by: Selvin Xavier selvin.xav...@emulex.com --- src/ocrdma_main.c