On 1/11/24 05:52, Bart Van Assche wrote: > On 1/10/24 12:49, Niklas Cassel wrote: >> However, I'm worried that applying that libata patch will simply hide >> an actual problem in SCSI, which might lead to someone else stumbling >> on this SCSI bug in the future. >> >> Thoughts? > > Since the hang is caused by submitting a SCSI pass-through command, I'm > not sure this issue can be called a SCSI core bug. Aren't users on their > own who mix SCSI pass-through commands with commands submitted by the sd > driver? I would not expect a correct result from a user mixing up passthrough and regular kernel sd management, however, having the system hang is not acceptable I think. So we should fix this, avoiding this hang. Is Niklas patch OK for that ? -- Damien Le Moal Western Digital Research