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
F175373865: D60476.diff
Sat, Oct 10, 9:27 AM
F175334903: D60476.id189067.diff
Sat, Oct 10, 1:56 AM
Unknown Object (File)
Fri, Oct 9, 3:16 PM
Unknown Object (File)
Fri, Oct 9, 5:24 AM
Unknown Object (File)
Fri, Oct 9, 1:16 AM
Unknown Object (File)
Thu, Oct 8, 11:58 PM
Unknown Object (File)
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