Re: [PATCH v2 1/2] block: add max_open_zones to blk-sysfs

2020-07-03 Thread Johannes Thumshirn
On 03/07/2020 14:09, Johannes Thumshirn wrote: > On 03/07/2020 11:23, Niklas Cassel wrote: >> On Fri, Jul 03, 2020 at 08:22:45AM +, Johannes Thumshirn wrote: >>> On 02/07/2020 20:20, Niklas Cassel wrote: Documentation/block/queue-sysfs.rst | 7 +++ block/blk-sysfs.c

Re: [PATCH v2 1/2] block: add max_open_zones to blk-sysfs

2020-07-03 Thread Johannes Thumshirn
On 03/07/2020 11:23, Niklas Cassel wrote: > On Fri, Jul 03, 2020 at 08:22:45AM +, Johannes Thumshirn wrote: >> On 02/07/2020 20:20, Niklas Cassel wrote: >>> Documentation/block/queue-sysfs.rst | 7 +++ >>> block/blk-sysfs.c | 15 +++ >>> drivers/nvme/host/zns.

Re: [PATCH v2 1/2] block: add max_open_zones to blk-sysfs

2020-07-03 Thread Niklas Cassel
On Fri, Jul 03, 2020 at 08:22:45AM +, Johannes Thumshirn wrote: > On 02/07/2020 20:20, Niklas Cassel wrote: > > Documentation/block/queue-sysfs.rst | 7 +++ > > block/blk-sysfs.c | 15 +++ > > drivers/nvme/host/zns.c | 1 + > > drivers/scsi/sd_zbc

Re: [PATCH v2 1/2] block: add max_open_zones to blk-sysfs

2020-07-03 Thread Johannes Thumshirn
On 02/07/2020 20:20, Niklas Cassel wrote: > Documentation/block/queue-sysfs.rst | 7 +++ > block/blk-sysfs.c | 15 +++ > drivers/nvme/host/zns.c | 1 + > drivers/scsi/sd_zbc.c | 4 > include/linux/blkdev.h | 16 +++

Re: [PATCH v2 1/2] block: add max_open_zones to blk-sysfs

2020-07-02 Thread Damien Le Moal
On 2020/07/03 3:20, Niklas Cassel wrote: > Add a new max_open_zones definition in the sysfs documentation. > This definition will be common for all devices utilizing the zoned block > device support in the kernel. > > Export max open zones according to this new definition for NVMe Zoned > Namespac

[PATCH v2 1/2] block: add max_open_zones to blk-sysfs

2020-07-02 Thread Niklas Cassel
Add a new max_open_zones definition in the sysfs documentation. This definition will be common for all devices utilizing the zoned block device support in the kernel. Export max open zones according to this new definition for NVMe Zoned Namespace devices, ZAC ATA devices (which are treated as SCSI