On Sun, Mar 26, 2023 at 10:45:08AM +0900, Damien Le Moal wrote: > > Although the above sounds interesting to me, I think the following two > > scenarios are not handled by the above approach and can lead to reordering: > > * The SCSI device reporting a unit attention. > > * The SCSI device responding with the SCSI status "BUSY". The UFS > > standard explicitly allows this. From the UFS standard: "If the unit is > > not ready to accept a new command (e.g., still processing previous > > command) a STATUS response of BUSY will be returned." > > Yes, that likely would be an issue for regular writes, but likely not for zone > append emulation using regular writes though, since a "busy" return for a ZA > emulated regular write can be resent later with a different aligned write location. Exactly. That's why ZONE_APPEND is the only really viable high-level interface.