On Mon, Mar 20, 2023 at 04:32:57PM -0700, Bart Van Assche wrote: > On 3/20/23 16:28, Ming Lei wrote: > > On Fri, Mar 17, 2023 at 04:45:46PM -0700, Bart Van Assche wrote: > > > Thanks for having taken a look. This patch series is intended for > > > REQ_OP_WRITE requests and not for REQ_OP_ZONE_APPEND requests. > > > > But you are talking about host-managed zoned device, and the write > > should have to be zone append, right? > > Hi Ming, > > The use case I'm looking at is Android devices with UFS storage. UFS is > based on SCSI and hence only REQ_OP_WRITE is supported natively. There is a > REQ_OP_ZONE_APPEND emulation in drivers/scsi/sd_zbc.c but it restricts the > queue depth to one. But is this UFS one host-managed zoned device? If yes, this "REQ_OP_WRITE" still should have been handled as REQ_OP_ZONE_APPEND? Otherwise, I don't think it is host-managed, and your patch isn't needed too. Thanks, Ming