linux-stable/drivers/scsi/cxlflash
Matthew R. Ochs 5fbb96c8f1 scsi: cxlflash: Use cmd_size for private commands
Instead of using a private pool of AFU commands, use cmd_size to prime
the private pool of SCSI commands such that they are allocated with a
size large enough to contain an aligned AFU command. Use scsi_cmd_priv()
to derive the aligned/zeroed private command on queuecommand and TMF
paths. Remove cmd_checkout() as it is no longer required. The remaining
AFU private command infrastructure will be removed in a cleanup commit.

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Acked-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-11-30 19:53:02 -05:00
..
common.h scsi: cxlflash: Use cmd_size for private commands 2016-11-30 19:53:02 -05:00
Kconfig
lunmgt.c scsi: cxlflash: Fix crash in cxlflash_restore_luntable() 2016-11-30 11:34:00 -05:00
main.c scsi: cxlflash: Use cmd_size for private commands 2016-11-30 19:53:02 -05:00
main.h powerpc updates for 4.8 # 1 2016-07-30 21:01:36 -07:00
Makefile cxlflash: Virtual LUN support 2015-08-26 18:05:39 -07:00
sislite.h cxlflash: Shutdown notify support for CXL Flash cards 2016-07-12 23:16:31 -04:00
superpipe.c scsi: cxlflash: Fix context reference tracking on detach 2016-09-14 12:47:42 -04:00
superpipe.h scsi: cxlflash: Remove adapter file descriptor cache 2016-08-23 22:23:52 -04:00
vlun.c scsi: cxlflash: Transition to application close model 2016-08-23 22:23:41 -04:00
vlun.h cxlflash: Virtual LUN support 2015-08-26 18:05:39 -07:00