freebsd-dev/sys/dev/hyperv
Andriy Gapon efdba95d62 storvsc: port a Linux patch, properly set residual data length on errors
This change is based on Linux commit 40630f462824ee.  csio.resid should
account for transfer_len only for success and SRB_STATUS_DATA_OVERRUN
condition.

I am not sure how exactly this change works, but I have a report from a
user that they see lots of checksum errors when running a pool scrub
concurrently with iozone -l 1 -s 100G.  After applying this patch the
problem cannot be reproduced.

Reviewed by:	nobody
Sponsored by:	CyberSecure
Differential Revision: https://reviews.freebsd.org/D22312
2020-01-14 13:20:16 +00:00
..
include hyperv/vmbus: Update VMBus version 4.0 and 5.0 support. 2019-07-09 07:24:18 +00:00
input Revert r355806: kbd drivers: don't double register keyboard drivers 2019-12-26 17:09:36 +00:00
netvsc Fix spelling. 2019-12-30 09:22:52 +00:00
pcib Fix build of hyperv with base gcc on i386 2018-08-04 14:57:23 +00:00
storvsc storvsc: port a Linux patch, properly set residual data length on errors 2020-01-14 13:20:16 +00:00
utilities sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
vmbus hyperv/vmbus: Update VMBus version 4.0 and 5.0 support. 2019-07-09 07:24:18 +00:00