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)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 13 Sep 2014 22:41:39 +0000 (23:41 +0100)
commit5519f195164345cf4f9344b05eca70dca915d6a4
tree6be026794f534197ce4be3e89b64797e6a0ccd15
parentb1b82e6b662bc18a857feb9c3d173546afcdae65
Drivers: scsi: storvsc: Implement a eh_timed_out handler

commit 56b26e69c8283121febedd12b3cc193384af46b9 upstream.

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>
[hch: added a better comment explaining the issue]
Signed-off-by: Christoph Hellwig <hch@lst.de>
[bwh: Backported to 3.2: adjust filename, context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/staging/hv/storvsc_drv.c