[PATCH] nvme: translate zns errors to blk_status_t

Christoph Hellwig hch at lst.de
Fri Sep 11 02:10:22 EDT 2020


On Thu, Sep 10, 2020 at 10:25:24PM +0000, Damien Le Moal wrote:
> > I'm not sure this is the best idea, we probably need specific error codes
> > if we want file systems to be aware of the limit.
> 
> Do you mean something else than -EBUSY being returned to the user by the block
> layer ? Or a different/specific BLK_STS_XXX code which translates into -EBUSY in
> blk_status_to_errno() ?

My primary aim is a different BLK_STS_ code.  But given that I think
that we should not map different BLK_STS_ codes to the same errno if
we can avoid it, we should probably also use a different errno.



More information about the Linux-nvme mailing list