]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit70ccdd313f3a34c6fa02d3d89ee1067975fe9cc7
treeab93e43dea23a96b66f5ba872ac87f3ab61810e6
parent291e9ccac3d7a1a4e18d5106cfa13a6d0607c460
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