Re: [PATCH v3] null_blk: add support for max open/active zone limit for zoned devices

2020-09-29 Thread Jens Axboe
On 8/28/20 4:54 AM, Niklas Cassel wrote: > Add support for user space to set a max open zone and a max active zone > limit via configfs. By default, the default values are 0 == no limit. > > Call the block layer API functions used for exposing the configured > limits to sysfs. > > Add accounting

Re: [PATCH v3] null_blk: add support for max open/active zone limit for zoned devices

2020-09-29 Thread Matias Bjørling
On 23/09/2020 09.46, Johannes Thumshirn wrote: On 17/09/2020 09:57, Niklas Cassel wrote: On Mon, Sep 07, 2020 at 08:18:26AM +, Niklas Cassel wrote: On Fri, Aug 28, 2020 at 12:54:00PM +0200, Niklas Cassel wrote: Add support for user space to set a max open zone and a max active zone limit v

Re: [PATCH v3] null_blk: add support for max open/active zone limit for zoned devices

2020-09-23 Thread Johannes Thumshirn
On 17/09/2020 09:57, Niklas Cassel wrote: > On Mon, Sep 07, 2020 at 08:18:26AM +, Niklas Cassel wrote: >> On Fri, Aug 28, 2020 at 12:54:00PM +0200, Niklas Cassel wrote: >>> Add support for user space to set a max open zone and a max active zone >>> limit via configfs. By default, the default va

Re: [PATCH v3] null_blk: add support for max open/active zone limit for zoned devices

2020-09-17 Thread Niklas Cassel
On Mon, Sep 07, 2020 at 08:18:26AM +, Niklas Cassel wrote: > On Fri, Aug 28, 2020 at 12:54:00PM +0200, Niklas Cassel wrote: > > Add support for user space to set a max open zone and a max active zone > > limit via configfs. By default, the default values are 0 == no limit. > > > > Call the blo

Re: [PATCH v3] null_blk: add support for max open/active zone limit for zoned devices

2020-09-07 Thread Niklas Cassel
On Fri, Aug 28, 2020 at 12:54:00PM +0200, Niklas Cassel wrote: > Add support for user space to set a max open zone and a max active zone > limit via configfs. By default, the default values are 0 == no limit. > > Call the block layer API functions used for exposing the configured > limits to sysfs

Re: [PATCH v3] null_blk: add support for max open/active zone limit for zoned devices

2020-09-03 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

[PATCH v3] null_blk: add support for max open/active zone limit for zoned devices

2020-08-28 Thread Niklas Cassel
Add support for user space to set a max open zone and a max active zone limit via configfs. By default, the default values are 0 == no limit. Call the block layer API functions used for exposing the configured limits to sysfs. Add accounting in null_blk_zoned so that these new limits are respecte