Messages in this thread | | | Subject | Re: [PATCH 4/5] nvmet: use atomic allocations when allocating fc requests | From | James Smart <> | Date | Tue, 12 Jun 2018 13:36:22 -0700 |
| |
On 5/31/2018 2:31 AM, Sagi Grimberg wrote: > > Question, why isn't tfcp_req embedded in fcpreq? don't they have > the same lifetime? >
no they don't. To properly simulate cable-pulls, etc - the host side and controller side effectively have their own "exchange" structure. tfcp_req corresponds to the controller side. The lifetimes of the two halves can differ.
-- james
| |