diff options
| author | James Smart <[email protected]> | 2020-03-31 09:49:49 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-05-09 16:18:33 -0600 |
| commit | 3b8281b02bdc6fc7bed6f20af6fd7933a86b94e2 (patch) | |
| tree | c6c6dccf3f4293d717d4ba87c33cd33e8f1e75e5 /tools/perf/scripts/python | |
| parent | ca19bcd086331ec2fa182ad8cd589014beb931be (diff) | |
nvmet-fc: Better size LS buffers
Current code uses NVME_FC_MAX_LS_BUFFER_SIZE (2KB) when allocating
buffers for LS requests and responses. This is considerable overkill
for what is actually defined.
Rework code to have unions for all possible requests and responses
and size based on the unions. Remove NVME_FC_MAX_LS_BUFFER_SIZE.
Signed-off-by: James Smart <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions