Re: [PATCHv3 10/10] mpt3sas: lockless command submission for scsi-mq

2017-02-21 Thread Christoph Hellwig
On Tue, Feb 21, 2017 at 03:58:08PM +0100, Hannes Reinecke wrote: > >> + if (ioc->shost->use_blk_mq) { > >> + u32 unique_tag = blk_mq_unique_tag(scmd->request); > >> + > >> + tag = blk_mq_unique_tag_to_tag(unique_tag); > >> + } else > >> + tag = scmd->request->tag; > >

Re: [PATCHv3 10/10] mpt3sas: lockless command submission for scsi-mq

2017-02-21 Thread Hannes Reinecke
On 02/21/2017 03:34 PM, Christoph Hellwig wrote: > On Tue, Feb 21, 2017 at 01:27:09PM +0100, Hannes Reinecke wrote: >> Enable lockless command submission for scsi-mq by moving the >> command structure into the payload for struct request. > > No dependency on scsi-mq, so the changelog could use a

Re: [PATCHv3 10/10] mpt3sas: lockless command submission for scsi-mq

2017-02-21 Thread Christoph Hellwig
On Tue, Feb 21, 2017 at 01:27:09PM +0100, Hannes Reinecke wrote: > Enable lockless command submission for scsi-mq by moving the > command structure into the payload for struct request. No dependency on scsi-mq, so the changelog could use a little update. > @@ -2345,26 +2354,22 @@ struct

[PATCHv3 10/10] mpt3sas: lockless command submission for scsi-mq

2017-02-21 Thread Hannes Reinecke
Enable lockless command submission for scsi-mq by moving the command structure into the payload for struct request. Signed-off-by: Hannes Reinecke --- drivers/scsi/mpt3sas/mpt3sas_base.c | 123 - drivers/scsi/mpt3sas/mpt3sas_base.h | 19 ++--