Page MenuHomeFreeBSD

virtio_scsi: pend CAM commands when insufficient descriptors
Needs RevisionPublic

Authored by adam_fenn.io on Aug 2 2021, 7:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 17, 5:45 PM
Unknown Object (File)
Thu, Jan 9, 8:06 AM
Unknown Object (File)
Dec 9 2024, 2:03 PM
Unknown Object (File)
Nov 26 2024, 1:36 PM
Unknown Object (File)
Nov 26 2024, 1:36 PM
Unknown Object (File)
Nov 26 2024, 1:17 PM
Unknown Object (File)
Nov 9 2024, 9:22 AM
Unknown Object (File)
Nov 9 2024, 6:15 AM

Details

Reviewers
imp
Summary

Instead of CAM requeues on resource depletion, pend the cmds. Only
un-pend when there are enough virtio descriptors available.

Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
X-NetApp-PR: #60

Diff Detail

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

Event Timeline

adam_fenn.io held this revision as a draft.
imp requested changes to this revision.Aug 2 2021, 10:37 PM

SIMs generally are supposed to return the requests to CAM for requeueing like was done before.
Why do this? What's the benefit? Almost no other drivers do this.

This revision now requires changes to proceed.Aug 2 2021, 10:37 PM