commit | 59534b9d606e7f566970a6f8621c6022f7c19ff1 | [log] [tgz] |
---|---|---|
author | Israel Rukshin <israelr@mellanox.com> | Sun Oct 13 19:57:34 2019 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Nov 04 10:56:41 2019 -0700 |
tree | c8bbe262d1f014b9c7bca2142b03535446995196 | |
parent | e522f446027845e3c8b563d021f37e8f3d30c9d9 [diff] |
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>