mpt2: store scsi io tracker data in the scsi command / request
authorJens Axboe <axboe@fb.com>
Thu, 2 Apr 2015 18:26:33 +0000 (12:26 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 3 Apr 2015 01:35:37 +0000 (19:35 -0600)
commit8a23bf0893a3b5404ffedd3a7d5e4467690ebcf9
tree5fa09a2c8f5041a9acba32a4ccce89c894f2833b
parenta633aed89c4ce284469be6e1c67ee9f1e9635904
mpt2: store scsi io tracker data in the scsi command / request

Instead of storing the IO tracker structure in a separate list
that we need to pop/push to on every submit and complete (and
lock), store it in the pdu associated with a request. This is
possible on scsi-mq only.

Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/mpt2sas/mpt2sas_base.c
drivers/scsi/mpt2sas/mpt2sas_base.h
drivers/scsi/mpt2sas/mpt2sas_ctl.c
drivers/scsi/mpt2sas/mpt2sas_scsih.c