[PATCH] nvme: translate zns errors to blk_status_t

Damien Le Moal Damien.LeMoal at wdc.com
Mon Sep 14 22:57:59 EDT 2020


On 2020/09/15 11:55, Keith Busch wrote:
> On Mon, Sep 14, 2020 at 11:25:08PM +0000, Damien Le Moal wrote:
>> On 2020/09/15 4:44, Keith Busch wrote:
>>> Selecting an existing unused errno feels a bit arbitrary for a status
>>> that is currently specific to NVMe ZNS. Could you provide a little more
>>> guidance on what you're looking for?
>>
>> Not just NVMe ZNS. SCSI/ZBC and ATA/ZAC too (both sd driver) :)
> 
> Gotcha, I did not realize those may have open zone limits too.

ZBC/ZAC both define a max open zone limit too, which is semantically equivalent
to ZNS definition. ZBC and ZAC do not define the active zone concept though, so
no limit set for max_active_zones.


-- 
Damien Le Moal
Western Digital Research



More information about the Linux-nvme mailing list