commit | f01b9f73392b48c6cda7c2c66594c73137c776da | [log] [tgz] |
---|---|---|
author | Vu Pham <vu@mellanox.com> | Mon Nov 11 19:04:29 2013 +0200 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Tue Nov 12 13:07:52 2013 -0800 |
tree | e673d3361ccb1a79de47609dc36d9760411084c9 | |
parent | 4863e525659abbc903aacc67fd916f12914f6c1d [diff] |
iser-target: Avoid using FRMR for single dma entry requests 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>