]> git.baikalelectronics.ru Git - kernel.git/commit
cxlflash: Shutdown notify support for CXL Flash cards
authorUma Krishnan <ukrishn@linux.vnet.ibm.com>
Wed, 15 Jun 2016 23:49:57 +0000 (18:49 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 13 Jul 2016 03:16:31 +0000 (23:16 -0400)
commit215629922709d1023a2cada0d6a7f475abd94e12
tree411adc1c784f5689aba5c12d8e288c081e6516a7
parent81c15b8abade4f4a2e8cb1741571bc085fd8cd22
cxlflash: Shutdown notify support for CXL Flash cards

Some CXL Flash cards need notification of device shutdown in order to
flush pending I/Os.

A PCI notification hook for shutdown has been added where the driver
notifies the card and returns. When the device is removed in the PCI
remove path, notification code will wait for shutdown processing to
complete.

Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Acked-by: Manoj N. Kumar <manoj@linux.vnet.ibm.com>
Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxlflash/main.c
drivers/scsi/cxlflash/main.h
drivers/scsi/cxlflash/sislite.h