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
F132219052: D22312.id64169.diff
Tue, Oct 14, 9:52 PM
Unknown Object (File)
Mon, Oct 13, 11:06 AM
Unknown Object (File)
Wed, Oct 8, 6:08 AM
Unknown Object (File)
Wed, Oct 8, 5:00 AM
Unknown Object (File)
Thu, Sep 25, 6:25 AM
Unknown Object (File)
Sep 1 2025, 11:02 PM
Unknown Object (File)
Aug 28 2025, 3:26 AM
Unknown Object (File)
Aug 20 2025, 11:57 AM
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 Not Applicable
Unit
Tests Not Applicable