Page MenuHomeFreeBSD

Break down the sglist if VIRTIO_BLK_F_SIZE_MAX is on
AbandonedPublic

Authored by khng on Nov 17 2020, 5:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 29, 6:27 AM
Unknown Object (File)
Dec 27 2023, 10:55 AM
Unknown Object (File)
Dec 20 2023, 4:36 AM
Unknown Object (File)
Nov 15 2023, 2:53 AM
Unknown Object (File)
Nov 4 2023, 5:10 PM
Unknown Object (File)
Aug 27 2023, 2:37 PM
Unknown Object (File)
Aug 16 2023, 10:31 PM
Unknown Object (File)
Aug 13 2023, 6:33 AM
Subscribers
None

Details

Reviewers
None
Summary

This change introduce a mechanism to break down the sglist used in
virtio_blk. If VIRTIO_BLK_F_SIZE_MAX is advertised by the host, the
maximum size of each segments in the scatter/gather should be
limited to the size advertised by the host.

Reported by: Yuan Rui <number201724@me.com>
MFC after: 2 weeks

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34859
Build 31883: arc lint + arc unit

Event Timeline

khng requested review of this revision.Nov 17 2020, 5:14 PM
khng created this revision.
khng planned changes to this revision.Nov 17 2020, 5:16 PM