nvmet-rdma: remove p2p_client initialization from fast-path
authorMax Gurtovoy <maxg@mellanox.com>
Mon, 8 Apr 2019 15:39:58 +0000 (18:39 +0300)
committerChristoph Hellwig <hch@lst.de>
Thu, 25 Apr 2019 14:41:26 +0000 (16:41 +0200)
commit8dc2ed3f3e5ba245828ad89968f6818be8996e9d
tree07206ad42c05fd4c83ac3e34f268cb4815fa82f1
parent95f18c9d1310730d075499a75aaf13bcd60405a7
nvmet-rdma: remove p2p_client initialization from fast-path

Initialize it during command allocation.

Cc: Logan Gunthorpe <logang@deltatee.com>
Cc: Stephen Bates <sbates@raithlin.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/rdma.c