Page MenuHomeFreeBSD

storvsc: port a Linux patch, properly set residual data length on errors
ClosedPublic

Authored by avg on Nov 11 2019, 1:23 PM.
Tags
None
Referenced Files
F81585037: D22312.diff
Thu, Apr 18, 12:43 PM
Unknown Object (File)
Jan 2 2024, 4:19 PM
Unknown Object (File)
Dec 22 2023, 11:51 PM
Unknown Object (File)
Jul 31 2023, 5:01 AM
Unknown Object (File)
Jun 16 2023, 3:23 AM
Unknown Object (File)
Jun 3 2023, 8:06 AM
Unknown Object (File)
Jun 2 2023, 4:52 AM
Unknown Object (File)
Apr 25 2023, 9:57 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27440
Build 25678: arc lint + arc unit