Thread (1 message) 1 message, 1 author, 2020-09-22

Re: [PATCHv3 4/4] scsi: handle zone resources errors

From: Martin K. Petersen <hidden>
Date: 2020-09-22 21:45:19
Also in: linux-nvme, linux-scsi

Keith,
ZBC or ZAC disks that have a limit on the number of open zones may
fail a zone open command or a write to a zone that is not already
implicitly or explicitly open if the total number of open zones is
already at the maximum allowed.

For these operations, instead of returning the generic BLK_STS_IOERR,
return BLK_STS_ZONE_OPEN_RESOURCE which is returned as -ETOOMANYREFS
to the I/O issuer, allowing the device user to act appropriately on
these relatively benign zone resource errors.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Johannes Thumshirn <redacted>
Signed-off-by: Damien Le Moal <redacted>
Looks fine but needs your SoB as Damien pointed out.

Acked-by: Martin K. Petersen <redacted>

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help