Re: error handler scheduling

2013-04-12 Thread Baruch Even
On Fri, Apr 12, 2013 at 12:42 PM, Ren Mingxin 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 READY or REQUEST

Re: error handler scheduling

2013-04-12 Thread Ren Mingxin
s.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 to the eh_cmd_q for the shost, the error handler is only awakened once shost- host_busy (total numbe

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) i

RE: error handler scheduling

2013-03-28 Thread Elliott, Robert (Server Storage)
el.org [mailto:linux-scsi- > ow...@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 loo

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

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 tha