]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/scsi/scsi_priv.h
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)
commite9c787e65c0c36529745be47d490d998b4b6e589
tree6306a74b913ad810f8583a20bac911ff1ca516f5
parentd48777a633d6fa7ccde0f0e6509f0c01fbfc5299
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