IB/srp: Use block layer tags
authorBart Van Assche <bvanassche@acm.org>
Thu, 2 Oct 2014 13:29:25 +0000 (15:29 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 11:05:23 +0000 (12:05 +0100)
commit77f2c1a40e6fed202d08c8ec0bdca36a76dab368
treeab93e43dea23a96b66f5ba872ac87f3ab61810e6
parent509c07bc18500c3ded1a8e6273ace5002136c9d2
IB/srp: Use block layer tags

Since the block layer already contains functionality to assign
a tag to each request, use that functionality instead of
reimplementing that functionality in the SRP initiator driver.
This change makes the free_reqs list superfluous. Hence remove
that list.

[hch: updated to use .use_blk_tags instead scsi_activate_tcq]
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h