On 10/6/2014 5:15 AM, Nicholas A. Bellinger wrote:
From: Nicholas Bellinger <n...@linux-iscsi.org>

This patch explicitly disables TX completion interrupt coalescing logic
in isert_put_response() and isert_put_datain() that was originally added
as an efficiency optimization in commit 95b60f07.

It has been reported that this change can trigger ABORT_TASK timeouts
under certain small block workloads, where disabling coalescing was
required for stability.  According to Sagi, this doesn't impact
overall performance, so go ahead and disable it for now.

Reported-by: Moussa Ba <mouss...@micron.com>
Cc: Moussa Ba <mouss...@micron.com>
Reported-by: Sagi Grimberg <sa...@dev.mellanox.co.il>
Cc: Sagi Grimberg <sa...@dev.mellanox.co.il>
Cc: <sta...@vger.kernel.org> # 3.13+
Signed-off-by: Nicholas Bellinger <n...@linux-iscsi.org>
---
  drivers/infiniband/ulp/isert/ib_isert.c |    4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/infiniband/ulp/isert/ib_isert.c 
b/drivers/infiniband/ulp/isert/ib_isert.c
index 40969b6..f719112 100644
--- a/drivers/infiniband/ulp/isert/ib_isert.c
+++ b/drivers/infiniband/ulp/isert/ib_isert.c
@@ -2183,7 +2183,7 @@ isert_put_response(struct iscsi_conn *conn, struct 
iscsi_cmd *cmd)
                isert_cmd->tx_desc.num_sge = 2;
        }

-       isert_init_send_wr(isert_conn, isert_cmd, send_wr, true);
+       isert_init_send_wr(isert_conn, isert_cmd, send_wr, false);

I Would like to avoid taking the conn_mutex in the IO path.
Care to respin this with avoiding taking the mutex? Or you want me to?
I have a couple of patches in the pipe anyway...

Sagi.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to