scsi: target: Add iblock configure_unmap callout
authorMike Christie <michael.christie@oracle.com>
Tue, 28 Jun 2022 20:02:28 +0000 (15:02 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Jul 2022 20:53:52 +0000 (16:53 -0400)
commitd7c382c51d0379f38eee270db575018094826c73
treee3c80c60e50cc630884239f56bf69fd66a02f1f0
parent6b206a5a8c2912c3c2174c5afc2f6e798d6ad212
scsi: target: Add iblock configure_unmap callout

Move iblock's UNMAP setup code to a configure_unmap callout.

Link: https://lore.kernel.org/r/20220628200230.15052-4-michael.christie@oracle.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_iblock.c