[lkml]   [2018]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 4/5] nvmet: use atomic allocations when allocating fc requests

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

 \ /
  Last update: 2018-06-12 22:37    [W:0.069 / U:4.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site