Re: [PATCH v2 14/20] nvme-auth: check chap ctrl_key once constructed

Chaitanya Kulkarni
2022-11-15T04:13:09Z

On 11/13/22 03:24, Sagi Grimberg wrote:
> ctrl ctrl_key member may be overwritten from a sysfs context driven
> by the user. Once a queue local copy was created, use that instead
> to minimize checks on a shared resource.
>
> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
> ---

Since it is not in a fast path do we really have to care about the
performance impact on the shared resource locks ?

-ck