linux/drivers/infiniband/ulp/iser
Sagi Grimberg ba943fb237 IB/iser: Rewrite bounce buffer code path
In some rare cases, IO operations may be not aligned to page
boundaries. This prevents iser from performing fast memory
registration. In order to overcome that iser uses a bounce
buffer to carry the transaction. We basically allocate a buffer
in the size of the transaction and perform a copy.

The buffer allocation using kmalloc is too restrictive since it
requires higher order (atomic) allocations for large transactions
(which may result in memory exhaustion fairly fast for some workloads).
We rewrite the bounce buffer code path to allocate scattered pages
and perform a copy between the transaction sg and the bounce sg.

Reported-by: Alex Lyakas <alex@zadarastorage.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-04-15 16:07:14 -04:00
..
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00
iscsi_iser.c IB/iser: DIX update 2014-12-15 18:11:46 -08:00
iscsi_iser.h IB/iser: Rewrite bounce buffer code path 2015-04-15 16:07:14 -04:00
iser_initiator.c IB/iser: Rewrite bounce buffer code path 2015-04-15 16:07:14 -04:00
iser_memory.c IB/iser: Rewrite bounce buffer code path 2015-04-15 16:07:14 -04:00
iser_verbs.c IB/iser: Move PI context alloc/free to routines 2015-04-15 16:07:13 -04:00