nvme-rdma: Use unlikely macro in the fast path
authorMax Gurtovoy <maxg@mellanox.com>
Mon, 14 Aug 2017 12:29:26 +0000 (15:29 +0300)
committerSagi Grimberg <sagi@grimberg.me>
Mon, 28 Aug 2017 20:00:43 +0000 (23:00 +0300)
commita7b7c7a105a528e6c2a0a2581b814a5acacb4c38
tree7d5746077429a3ff673e7992eb07ea4ddc6f3f33
parent17c39d053a46b300fee786857458857086a4844e
nvme-rdma: Use unlikely macro in the fast path

This patch slightly improves performance (mainly for small block sizes).

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c