diff options
author | 2019-10-13 19:57:34 +0300 | |
---|---|---|
committer | 2019-11-04 10:56:41 -0700 | |
commit | 59534b9d606e7f566970a6f8621c6022f7c19ff1 (patch) | |
tree | c8bbe262d1f014b9c7bca2142b03535446995196 /tools/perf/scripts/python | |
parent | nvmet: add unlikely check at nvmet_req_alloc_sgl (diff) | |
download | linux-dev-59534b9d606e7f566970a6f8621c6022f7c19ff1.tar.xz linux-dev-59534b9d606e7f566970a6f8621c6022f7c19ff1.zip |
nvmet-rdma: add unlikely check at nvmet_rdma_map_sgl_keyed
The calls to nvmet_req_alloc_sgl and rdma_rw_ctx_init should usually
succeed, so add this simple optimization to the fast path.
Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions