[PATCHv3 1/4] block: add zone specific block statuses
Keith Busch
kbusch at kernel.org
Fri Sep 18 15:40:56 EDT 2020
On Fri, Sep 18, 2020 at 01:31:44PM +0000, Johannes Thumshirn wrote:
> On 18/09/2020 01:18, Keith Busch wrote:
> > diff --git a/Documentation/block/queue-sysfs.rst b/Documentation/block/queue-sysfs.rst
> > index f261a5c84170..2638d3446b79 100644
> > --- a/Documentation/block/queue-sysfs.rst
> > +++ b/Documentation/block/queue-sysfs.rst
> > @@ -124,6 +124,10 @@ For zoned block devices (zoned attribute indicating "host-managed" or
> > EXPLICIT OPEN, IMPLICIT OPEN or CLOSED, is limited by this value.
> > If this value is 0, there is no limit.
> >
> > +If the host attempts to exceed this limit, the driver should report this error
> > +with BLK_STS_ZONE_ACTIVE_RESOURCE, which user space may see as the EOVERFLOW
> > +errno.
> > +
> > max_open_zones (RO)
> > -------------------
> > For zoned block devices (zoned attribute indicating "host-managed" or
> > @@ -131,6 +135,10 @@ For zoned block devices (zoned attribute indicating "host-managed" or
> > EXPLICIT OPEN or IMPLICIT OPEN, is limited by this value.
> > If this value is 0, there is no limit.
> >
> > +If the host attempts to exceed this limit, the driver should report this error
> > +with BLK_STS_ZONE_OPEN_RESOURCE, which user space may see as the ETOOMANYREFS
> > +errno.
>
> Don't we also need to update some man pages in section 2?
Yes, good point. Those updates need to come from this repo
https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
right? If so, I can send updates there once it looks like this is the
form that will be committed.
More information about the Linux-nvme
mailing list