Drivers: scsi: storvsc: Implement a eh_timed_out handler
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 12 Jul 2014 16:48:30 +0000 (09:48 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Jul 2014 21:17:03 +0000 (17:17 -0400)
commit56b26e69c8283121febedd12b3cc193384af46b9
tree7e62acbb51256914944320c8aa54111bfbbf663f
parentadb6f9e1a8c6af1037232b59edb11277471537ea
Drivers: scsi: storvsc: Implement a eh_timed_out handler

On Azure, we have seen instances of unbounded I/O latencies. To deal with
this issue, implement handler that can reset the timeout. Note that the
host gaurantees that it will respond to each command that has been issued.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Cc: <stable@vger.kernel.org>
[hch: added a better comment explaining the issue]
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/storvsc_drv.c