Page MenuHomeFreeBSD

nvmf_tcp: Drain queued capsules and PDUs for transmit during queue shutdown
Needs ReviewPublic

Authored by jhb on Thu, Oct 8, 3:53 PM.
Tags
None
Referenced Files
F175271919: D60476.id189067.diff
Fri, Oct 9, 3:16 PM
F175221121: D60476.diff
Fri, Oct 9, 5:24 AM
F175199136: D60476.id189067.diff
Fri, Oct 9, 1:16 AM
F175191384: D60476.diff
Thu, Oct 8, 11:58 PM
F175173583: D60476.id189067.diff
Thu, Oct 8, 8:59 PM
Subscribers
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This ensures that any response sent just before the queue is shutdown
is actually sent to the other end. In particular, if an error was
detected when handing off a queue to the controller, the CONNECT
response could still be queued and not yet processed by the TX thread
when the queue pair is destroyed. Without the drain, the response
never made it out onto the wire but was instead dropped.

Sponsored by: Chelsio Communications

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77860
Build 74743: arc lint + arc unit