]> Pileus Git - ~andy/linux/commit
IB/iser: Use libiscsi passthrough mode
authorOr Gerlitz <ogerlitz@voltaire.com>
Mon, 8 Feb 2010 13:22:34 +0000 (13:22 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 24 Feb 2010 17:41:14 +0000 (09:41 -0800)
commit962b4b528ba87c8d837bb04794a1918c7de631cd
tree29b88d375f01c1628ca1f73612cb941ea52420ae
parentaae3c995ff74a183d15207436d383942485b2edd
IB/iser: Use libiscsi passthrough mode

libiscsi passthrough mode invokes the transport xmit calls directly
without first going through an internal queue, unlike the other mode,
which uses a queue and a xmitworker thread.  Now that the "cant_sleep"
prerequisite of iscsi_host_alloc is met, move to use it.  Handling
xmit errors is now done by the passthrough flow of libiscsi.  Since
the queue/worker aren't used in this mode, the code that schedules the
xmitworker is removed.

Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/infiniband/ulp/iser/iser_initiator.c