Re: [dm-devel] [PATCH] dm-zoned: Fix zone report handling

2019-04-18 Thread Shaun Tancheff
On Thu, Apr 18, 2019 at 4:04 AM Damien Le Moal wrote: > The function blkdev_report_zones() returns success even if no zone > information is reported (empty report). Empty zone reports can only > happen if the report start sector passed exceeds the device capacity. > The conditions for this to hap

[dm-devel] [PATCH] dm-zoned: Fix zone report handling

2019-04-18 Thread Damien Le Moal
The function blkdev_report_zones() returns success even if no zone information is reported (empty report). Empty zone reports can only happen if the report start sector passed exceeds the device capacity. The conditions for this to happen are either a bug in the caller code, or, a change in the dev