iser-target: Avoid using FRMR for single dma entry requests
authorVu Pham <vu@mellanox.com>
Mon, 11 Nov 2013 17:04:29 +0000 (19:04 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 12 Nov 2013 21:07:52 +0000 (13:07 -0800)
This patch changes isert_reg_rdma_frwr() to not use FRMR for single
dma entry requests from small I/Os, in order to avoid the associated
memory registration overhead.

Using DMA MR is sufficient here for the single dma entry requests,
and addresses a >= v3.12 performance regression.

Signed-off-by: Vu Pham <vu@mellanox.com>
Cc: <stable@vger.kernel.org> # v3.12+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found