Files
twx-linux/drivers
Long Li 18dbfcae65 scsi: storvsc: properly set residual data length on errors
commit 40630f4628 upstream.

On I/O errors, the Windows driver doesn't set data_transfer_length
on error conditions other than SRB_STATUS_DATA_OVERRUN.
In these cases we need to set data_transfer_length to 0,
indicating there is no data transferred. On SRB_STATUS_DATA_OVERRUN,
data_transfer_length is set by the Windows driver to the actual data transferred.

Reported-by: Shiva Krishna <Shiva.Krishna@nimblestorage.com>
Signed-off-by: Long Li <longli@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-12 06:37:26 +01:00
..
…
…
…
…
…
…
…
…
…
…
2016-09-24 10:07:35 +02:00
2017-03-12 06:37:24 +01:00
2017-01-12 11:22:47 +01:00
2017-02-23 17:43:10 +01:00
…
…
…
2016-12-08 07:15:24 +01:00
…
…
…
…
…
…
…
2017-02-26 11:07:50 +01:00
2016-11-26 09:54:53 +01:00
…
2016-08-20 18:09:22 +02:00
…
…