]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: allocate scsi_cmnd structures as part of struct request
authorChristoph Hellwig <hch@lst.de>
Mon, 2 Jan 2017 18:55:26 +0000 (21:55 +0300)
committerJens Axboe <axboe@fb.com>
Fri, 27 Jan 2017 22:08:35 +0000 (15:08 -0700)
commit83b420c05ef41d7ba360052cbb265a64982bef7b
tree6306a74b913ad810f8583a20bac911ff1ca516f5
parent0b8a970f10f630af9207d47b908bb8481f1e89b9
scsi: allocate scsi_cmnd structures as part of struct request

Rely on the new block layer functionality to allocate additional driver
specific data behind struct request instead of implementing it in SCSI
itѕelf.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/hosts.c
drivers/scsi/scsi.c
drivers/scsi/scsi_error.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_priv.h
include/scsi/scsi_host.h