On Thu, Jun 16, 2022 at 10:04:39PM -0500, Mike Christie wrote: > On our backend we can do something similar to LIO where we can enable and > disable unmap support on the fly. In the scsi/block layer we can detect > this by just doing a rescan. However, LIO cannot detect this change > because we only check during the initial configuration. This patch > allows unmap detection to also happen when the user tries to turn it on. Please also call the new callback from the generic code during initial setup instead of leaving that to the backends.