mpt3: store scsi io tracker data in the scsi command / request v3.10-lsi-mq
authorJens Axboe <axboe@fb.com>
Thu, 2 Apr 2015 18:27:59 +0000 (12:27 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 3 Apr 2015 01:35:37 +0000 (19:35 -0600)
commit2592abb126c09c2bbad2d9707b677ef2c7347380
tree7b5ab9af1b19d8e6e4b3bf1f91c03ca134cbbab5
parent8a23bf0893a3b5404ffedd3a7d5e4467690ebcf9
mpt3: 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/mpt3sas/mpt3sas_base.c
drivers/scsi/mpt3sas/mpt3sas_base.h
drivers/scsi/mpt3sas/mpt3sas_ctl.c
drivers/scsi/mpt3sas/mpt3sas_scsih.c