> It seems like the PCI core supports binding and unbinding through > sysfs but the SCSI core not. So it's probably easier to add support > for ASC/ASCQ 04h / 04h rather than to add bind/unbind support to the > SCSI core. I am not a fan of trying to cover all these revalidation corner cases. Having the ULD attached during a format operation makes zero sense. NVMe handles formatting and a few other commands differently based on the Commands Supported and Effects Log Page. The SCSI protocol doesn't have the same elaborate reporting scheme but that doesn't mean we couldn't handle disruptive operations similar to what the NVMe driver is doing. -- Martin K. Petersen Oracle Linux Engineering