]> git.baikalelectronics.ru Git - kernel.git/commit
IB/iser: Suppress scsi command send completions
authorSagi Grimberg <sagig@mellanox.com>
Wed, 1 Oct 2014 11:02:12 +0000 (14:02 +0300)
committerRoland Dreier <roland@purestorage.com>
Thu, 9 Oct 2014 07:06:07 +0000 (00:06 -0700)
commita79c5391a474b2373b93b9d62a8563951000becc
treeb26b887f909b95f22ff9360d1180ef8321774783
parent06f0309b530baa730689bc19e8445f32392b3e39
IB/iser: Suppress scsi command send completions

Singal completion of every 32 scsi commands and suppress all the rest.
We don't do anything upon getting the completion so no need to "just
consume" it.  Cleanup of scsi command is done in cleanup_task callback.

Still keep dataout and control send completions as we may need to
cleanup there. This helps reducing the amount of interrupts/completions
in the IO path.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iscsi_iser.h
drivers/infiniband/ulp/iser/iser_initiator.c
drivers/infiniband/ulp/iser/iser_verbs.c