Re: [dm-devel] [PATCH 3/9] block: Simplify report zones execution

2019-11-07 Thread Hannes Reinecke
On 11/8/19 2:56 AM, Damien Le Moal wrote: > All kernel users of blkdev_report_zones() as well as applications use > through ioctl(BLKZONEREPORT) expect to potentially get less zone > descriptors than requested. As such, the use of the internal report > zones command execution loop implemented by

[dm-devel] [PATCH 3/9] block: Simplify report zones execution

2019-11-07 Thread Damien Le Moal
All kernel users of blkdev_report_zones() as well as applications use through ioctl(BLKZONEREPORT) expect to potentially get less zone descriptors than requested. As such, the use of the internal report zones command execution loop implemented by blk_report_zones() is not necessary and can even be