On Tue, Apr 19, 2016 at 05:20:09PM +0300, Sagi Grimberg wrote: > In isert if the we have a single sg entry, we use the local_dma_lkey > just so we can skip a registration (also for protection sg), perhaps > rdma_rw_init_one_mr can do this optimization too? Can't more than a single SG can be packed into a WR? Ideally this common code should try and max out the SG entries before falling back to using a WR? There is probably an interesting performance trade off around making the WR SG list bigger vs using the MR. But that could be done as a follow up patch... This series is a big, big improvement already. Jason -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html