]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet-rdma: add an error flow for post_recv failures
authorMax Gurtovoy <maxg@mellanox.com>
Sun, 1 Jul 2018 09:20:24 +0000 (12:20 +0300)
committerChristoph Hellwig <hch@lst.de>
Mon, 23 Jul 2018 07:35:17 +0000 (09:35 +0200)
commitc7c7e15f1f0ba83955224de2d3f823d3b9d4c7b3
treece0b0e5d39a9a3cec9e28c2770bf62d7cbc08853
parent4d324411ce5fa5209d1f5e7a41f70c6d6e3e0154
nvmet-rdma: add an error flow for post_recv failures

Posting receive buffer operation can fail, thus we should make
sure to have an error flow during initialization phase. While
we're here, add a debug print in case of a failure.

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