Re: error handler scheduling

2013-04-12 Thread Ren Mingxin
@vger.kernel.org Subject: Re: error handler scheduling On 13-03-26 10:11 PM, James Smart wrote: In looking through the error handler, if a command times out and is added to the eh_cmd_q for the shost, the error handler is only awakened once shost- host_busy (total number of i/os posted to the shost

Re: error handler scheduling

2013-04-12 Thread Baruch Even
On Fri, Apr 12, 2013 at 12:42 PM, Ren Mingxin re...@cn.fujitsu.com wrote: Please let me summarize what this thread has talked about the scsi eh latency: 1) some scsi cmds' timemout values are inappropriate, we can avoid timeout by: a) sg_format sets the IMMED bit and use TEST UNIT

Re: error handler scheduling

2013-04-02 Thread Bhanu Prakash Gollapudi
On 03/27/2013 07:35 AM, Hannes Reinecke wrote: On 03/27/2013 03:11 AM, James Smart wrote: In looking through the error handler, if a command times out and is added to the eh_cmd_q for the shost, the error handler is only awakened once shost-host_busy (total number of i/os posted to the shost)

RE: error handler scheduling

2013-03-28 Thread Elliott, Robert (Server Storage)
...@vger.kernel.org] On Behalf Of Douglas Gilbert Sent: Wednesday, 27 March, 2013 9:39 AM To: james.sm...@emulex.com Cc: linux-scsi@vger.kernel.org Subject: Re: error handler scheduling On 13-03-26 10:11 PM, James Smart wrote: In looking through the error handler, if a command times out and is added

Re: error handler scheduling

2013-03-27 Thread Hannes Reinecke
On 03/27/2013 03:11 AM, James Smart wrote: In looking through the error handler, if a command times out and is added to the eh_cmd_q for the shost, the error handler is only awakened once shost-host_busy (total number of i/os posted to the shost) is equal to shost-host_failed (number of i/o that

Re: error handler scheduling

2013-03-27 Thread Douglas Gilbert
On 13-03-26 10:11 PM, James Smart wrote: In looking through the error handler, if a command times out and is added to the eh_cmd_q for the shost, the error handler is only awakened once shost-host_busy (total number of i/os posted to the shost) is equal to shost-host_failed (number of i/o that

error handler scheduling

2013-03-26 Thread James Smart
In looking through the error handler, if a command times out and is added to the eh_cmd_q for the shost, the error handler is only awakened once shost-host_busy (total number of i/os posted to the shost) is equal to shost-host_failed (number of i/o that have been failed and put on the