]> 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)
commit4882fca3cad72c0c8026b3797440335551f1abca
treeab93e43dea23a96b66f5ba872ac87f3ab61810e6
parent4ed44eb7ed16444f8b7f30f97ca09d43054e8bcc
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