diff options
author | Sagi Grimberg <[email protected]> | 2019-01-18 16:43:24 -0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-01-23 17:16:59 -0700 |
commit | b1064d3e337b4d0b67d641b5f771187d8f1f027d (patch) | |
tree | 44c45de7d4d04cfc2af37889866a9171124e44d0 /scripts | |
parent | 39d57757467b6346bbc1a1f416e3057f681cf903 (diff) |
nvme-rdma: rework queue maps handling
If the device supports less queues than provided (if the device has less
completion vectors), we might hit a bug due to the fact that we ignore
that in nvme_rdma_map_queues (we override the maps nr_queues with user
opts).
Instead, keep track of how many default/read/poll queues we actually
allocated (rather than asked by the user) and use that to assign our
queue mappings.
Fixes: b65bb777ef22 (" nvme-rdma: support separate queue maps for read and write")
Reported-by: Saleem, Shiraz <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions