linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question on block-layer timeout change
@ 2008-11-11 16:26 Shi, Harris
  0 siblings, 0 replies; 16+ messages in thread
From: Shi, Harris @ 2008-11-11 16:26 UTC (permalink / raw)
  To: linux-scsi@vger.kernel.org
  Cc: Jens Axboe, Alan Stern, Tejun Heo, FUJITA Tomonori

Due to the current timeout management change, LSI RDAC (failover) driver had some difficulties in handling SCSI I/O timeout. The RDAC driver is in the similar layer as HBA driver in that it will register into scsi mid-layer as scsi_host_template and stays below mid-layer. All SCSI I/Os coming to RDAC stack are routed by an available path then dispatched to the real HBA driver via mid-layer. We used to rely on the timer in scsi_cmnd->eh_timeout to deal with scsi i/o coming into the RDAC stack. Basically when I/O is coming to RDAC stack, we need to delete the timer for each individual I/O. Then after selecting a specific path for this I/O, we need to send the I/O back to mid-layer with a larger timeout value just to avoid the forced failover. When I/O completes successfully, we added the ori
 ginal timer back to the I/O and pass it over to upper block layer for further process.

However, with the current timeout management functions moving to block layer, it became difficult for us to explicitly control the timeout value for specific SCSI I/O, which ended up causing many issues on failover. Can you shed some lights on how to handle the I/O based timeout in this case?

Harris

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-01-24 16:34 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3568BBCB98C00041A9E622952FD5F24EA11C9F3A@cosmail03.lsi.com>
2008-11-12  7:29 ` question on block-layer timeout change Mike Anderson
2008-11-12 17:16   ` malahal
2008-11-14  8:51   ` Shi, Harris
2008-11-14 17:18     ` malahal
2008-12-10 23:11       ` Shi, Harris
2008-12-11 11:03         ` Hannes Reinecke
2008-12-16 16:55           ` Shi, Harris
2008-12-17  7:33             ` Hannes Reinecke
2008-12-17 22:38               ` Shi, Harris
2008-12-18  9:23                 ` Mike Anderson
2008-12-18 22:37                   ` Shi, Harris
2009-01-04 17:12                   ` Mike Christie
2009-01-07  6:37                     ` Shi, Harris
2009-01-07 20:46                       ` Mike Christie
2009-01-24 16:34                         ` Shi, Harris
2008-11-11 16:26 Question " Shi, Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).