Re: [PATCH 04/14] ib_srp: Set block layer timeout

2011-12-18 Thread Bart Van Assche
On Sat, Dec 17, 2011 at 5:03 PM, Or Gerlitz or.gerl...@gmail.com wrote: Bart Van Assche bvanass...@acm.org 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

Re: [PATCH 04/14] ib_srp: Set block layer timeout

2011-12-17 Thread Bart Van Assche
On Thu, Dec 15, 2011 at 8:37 PM, David Dillow dillo...@ornl.gov 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)) +

Re: [PATCH 04/14] ib_srp: Set block layer timeout

2011-12-17 Thread Or Gerlitz
Bart Van Assche bvanass...@acm.org 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

Re: [PATCH 04/14] ib_srp: Set block layer timeout

2011-12-17 Thread David Dillow
On Sun, 2011-12-18 at 00:03 +0200, Or Gerlitz wrote: Bart Van Assche bvanass...@acm.org 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,

Re: [PATCH 04/14] ib_srp: Set block layer timeout

2011-12-17 Thread David Dillow
On Sat, 2011-12-17 at 18:50 +0100, Bart Van Assche wrote: On Thu, Dec 15, 2011 at 8:37 PM, David Dillow dillo...@ornl.gov wrote: +static int srp_slave_alloc(struct scsi_device *sdev) +{ + struct Scsi_Host *shost = sdev-host; + struct srp_target_port *target =

Re: [PATCH 04/14] ib_srp: Set block layer timeout

2011-12-15 Thread David Dillow
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, which

[PATCH 04/14] ib_srp: Set block layer timeout

2011-12-01 Thread Bart Van Assche
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