[PATCH] helper function for retrieving scsi_cmd given host based block layer tag
authorDavid C Somayajulu <david.somayajulu@qlogic.com>
Wed, 4 Oct 2006 06:27:25 +0000 (08:27 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Wed, 4 Oct 2006 17:32:09 +0000 (19:32 +0200)
commitf583f4924d669d36de677e0cc2422ee95203d444
tree08efeac804151bbaef8cf0ca7effaa4e30e037f9
parent4a61f17378c2cdd9bd8f34ef8bd7422861d0c1f1
[PATCH] helper function for retrieving scsi_cmd given host based block layer tag

This was necessitated by the need for a function to get back
to a scsi_cmnd, when an hba the posts its (corresponding) completion
interrupt with a block layer tag as its reference.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: David Somayajulu <david.somayajulu@qlogic.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/ll_rw_blk.c
include/linux/blkdev.h
include/scsi/scsi_tcq.h