diff options
| author | Sagi Grimberg <[email protected]> | 2022-11-13 13:24:13 +0200 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2022-11-16 08:36:35 +0100 |
| commit | b7d604cae8f6edde53ac8aa9038ee154be562eb5 (patch) | |
| tree | 3364fbe4f52ae0681cb0607e0e7033a7d0ac6d3b /tools/perf/scripts/python/bin | |
| parent | bfc4068e1e55e30a86f0e82e15163a60f99a894d (diff) | |
nvme-auth: don't keep long lived 4k dhchap buffer
dhchap structure is per-queue, it is wasteful to keep it for the entire
lifetime of the queue. Allocate it dynamically and get rid of it after
authentication. We don't need kzalloc because all accessors are clearing
it before writing to it.
Also, remove redundant chap buf_size which is always 4096, use a define
instead.
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions