Christoph Hellwig d41003513e block: rework zone reporting
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@lst.de>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-11-12 19:12:07 -07:00
..
2019-05-08 21:23:11 -07:00
2018-09-12 13:07:10 -07:00
2019-09-21 14:26:33 -07:00
2019-09-21 14:26:33 -07:00
2019-09-21 14:26:33 -07:00
2019-09-09 13:06:11 +01:00
2018-09-12 13:07:10 -07:00
2019-09-21 14:26:33 -07:00
2019-08-12 19:33:51 -07:00
2019-11-12 19:12:07 -07:00
2019-09-21 14:26:33 -07:00
2018-09-12 13:07:10 -07:00
2019-08-12 19:33:51 -07:00
2019-08-12 19:33:51 -07:00