]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: cxlflash: Support file descriptor mapping
authorUma Krishnan <ukrishn@linux.vnet.ibm.com>
Mon, 26 Mar 2018 16:34:27 +0000 (11:34 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 18 Apr 2018 23:32:50 +0000 (19:32 -0400)
commit47fdff951d62f72ba0f2ad49fb5b28482a5b4954
tree7315cb0e6fdd532184917500ce9defaa07302482
parent7243fd69e24aac5323e723bc122fa77f5534bfbe
scsi: cxlflash: Support file descriptor mapping

The cxlflash core fop API requires a way to invoke the fault and release
handlers of underlying transports using their native file-based APIs. This
provides the core with the ability to insert selectively itself into the
processing stream of these operations for cleanup. Implement these two fops to
map and release when requested.

Signed-off-by: Uma Krishnan <ukrishn@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/ocxl_hw.c