summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorIsrael Rukshin <israelr@mellanox.com>2019-10-13 19:57:34 +0300
committerJens Axboe <axboe@kernel.dk>2019-11-04 20:56:41 +0300
commit59534b9d606e7f566970a6f8621c6022f7c19ff1 (patch)
treec8bbe262d1f014b9c7bca2142b03535446995196 /include/linux
parente522f446027845e3c8b563d021f37e8f3d30c9d9 (diff)
downloadlinux-59534b9d606e7f566970a6f8621c6022f7c19ff1.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions