On 11/03/2015 12:13 PM, Sagi Grimberg wrote:
Sorry but I strongly prefer not to introduce new contention points in
the SRP initiator driver.

Yea... Me neither.

What if you just have a simple check on the SG list and reserve the
required descriptors up front? Would that work?

Such a check wouldn't be that simple because the only way to perform such a check is either by doubling the number of ib_map_mr_sg() calls or by performing additional memory allocations.

Bart.


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to