Make sure that the default block layer timeout is above the
InfiniBand transport layer timeout. The default block layer
timeout is 30 seconds. Typical values for the QP local ack
timeout and retry count are 19 and 7 respectively, which means
that it can take up to 60.1 seconds before a HCA submits
On Thu, 2011-12-01 at 19:59 +0100, Bart Van Assche wrote:
> Make sure that the default block layer timeout is above the
> InfiniBand transport layer timeout. The default block layer
> timeout is 30 seconds. Typical values for the QP local ack
> timeout and retry count are 19 and 7 respectively, whi
On Thu, Dec 15, 2011 at 8:37 PM, David Dillow wrote:
> > +static int srp_slave_alloc(struct scsi_device *sdev)
> > +{
> > + struct Scsi_Host *shost = sdev->host;
> > + struct srp_target_port *target = host_to_target(shost);
> > +
> > + if (!WARN_ON(target->rq_tmo_jiffies == 0))
> > +
Bart Van Assche wrote:
> The default block layer timeout is 30 seconds.
Could you provider a pointer to where this is defined?
> Typical values for the QP local ack
> timeout and retry count are 19 and 7 respectively, which means
> that it can take up to 60.1 seconds before a HCA submits an err
On Sun, 2011-12-18 at 00:03 +0200, Or Gerlitz wrote:
> Bart Van Assche wrote:
>
> > The default block layer timeout is 30 seconds.
>
> Could you provider a pointer to where this is defined?
>
> > Typical values for the QP local ack
> > timeout and retry count are 19 and 7 respectively, which me
On Sat, 2011-12-17 at 18:50 +0100, Bart Van Assche wrote:
> On Thu, Dec 15, 2011 at 8:37 PM, David Dillow wrote:
> > > +static int srp_slave_alloc(struct scsi_device *sdev)
> > > +{
> > > + struct Scsi_Host *shost = sdev->host;
> > > + struct srp_target_port *target = host_to_target(shost)
On Sat, Dec 17, 2011 at 5:03 PM, Or Gerlitz wrote:
> Bart Van Assche wrote:
>
>> The default block layer timeout is 30 seconds.
>
> Could you provider a pointer to where this is defined?
Sorry, it's not the block layer but sd (SCSI disk) that sets that
timeout value. From drivers/scsi/sd.h: #def