Re: [PATCH] iser-target: Disable TX completion interrupt coalescing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2014-10-07 at 09:58 +0300, Sagi Grimberg wrote:
> On 10/6/2014 5:15 AM, Nicholas A. Bellinger wrote:
> > From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>
> >
> > 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 <moussaba@xxxxxxxxxx>
> > Cc: Moussa Ba <moussaba@xxxxxxxxxx>
> > Reported-by: Sagi Grimberg <sagig@xxxxxxxxxxxxxxxxxx>
> > Cc: Sagi Grimberg <sagig@xxxxxxxxxxxxxxxxxx>
> > Cc: <stable@xxxxxxxxxxxxxxx> # 3.13+
> > Signed-off-by: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>
> > ---
> >   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.

Yes, please.

> Care to respin this with avoiding taking the mutex? Or you want me to?

Let's keep this patch as is for -rc1 so it can be easily picked up for
stable, especially considering that it's been verified by Moussa for
some time.

> I have a couple of patches in the pipe anyway...
> 

Thank you Sagi.

--nab

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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux