On Thu, Nov 07 2019 at 8:57pm -0500, Damien Le Moal <damien.lemoal@xxxxxxx> wrote: > From: Christoph Hellwig <hch@xxxxxx> > > Avoid the need to allocate a potentially large array of struct blk_zone > in the block layer by switching the ->report_zones method interface to > a callback model. Now the caller simply supplies a callback that is > executed on each reported zone, and private data for it. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx> > Signed-off-by: Damien Le Moal <damien.lemoal@xxxxxxx> Reviewed-by: Mike Snitzer <snitzer@xxxxxxxxxx>