nvmet-rdma: add unlikely check in the fast path
authorMax Gurtovoy <maxg@mellanox.com>
Wed, 27 Jun 2018 11:58:02 +0000 (14:58 +0300)
committerChristoph Hellwig <hch@lst.de>
Mon, 23 Jul 2018 07:35:16 +0000 (09:35 +0200)
commit2fc464e2162c2b2f7faf7404fa9c35d1cf70aa00
treecf76b124b108cf16c01fa89b0eec113ff6b851ac
parent0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349
nvmet-rdma: add unlikely check in the fast path

ib_post_send operation should succeed unless something unusual
happened to the ib device.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/rdma.c