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? Code wise, Reviewed-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>