]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: target: Add callout to configure UNMAP settings
authorMike Christie <michael.christie@oracle.com>
Tue, 28 Jun 2022 20:02:27 +0000 (15:02 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Jul 2022 20:53:52 +0000 (16:53 -0400)
commitaaec94700243f6293b7d4acdbff0ba1f5b5e84b8
treebd98b2cb618038579a7800e3362f489d7769921d
parent15b0cef3dafa3cf859bf371209dceee7ef5857d1
scsi: target: Add callout to configure UNMAP settings

Add a callout to configure a backend's UNMAP settings. This will be used to
allow userspace to configure UNMAP after the initial device setup, similar
to how we can set up the other attributes post device configuration.

Link: https://lore.kernel.org/r/20220628200230.15052-3-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_device.c
include/target/target_core_backend.h