Page MenuHomeFreeBSD

Break down the sglist if VIRTIO_BLK_F_SIZE_MAX is on
AbandonedPublic

Authored by khng300_gmail.com on Tue, Nov 17, 5:14 PM.

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 OK
Unit
No Unit Test Coverage
Build Status
Buildable 34859
Build 31883: arc lint + arc unit