diff options
author | Christoph Hellwig <hch@lst.de> | 2019-11-11 03:39:30 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-13 03:12:07 +0100 |
commit | d41003513e61dd9d4974cb441d30b63650b85654 (patch) | |
tree | c55164e7ccf02f6e7e936757ed178b06109fcca2 /block/Kconfig.iosched | |
parent | scsi: sd_zbc: Cleanup sd_zbc_alloc_report_buffer() (diff) | |
download | linux-d41003513e61dd9d4974cb441d30b63650b85654.tar.xz linux-d41003513e61dd9d4974cb441d30b63650b85654.zip |
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>
Diffstat (limited to 'block/Kconfig.iosched')
0 files changed, 0 insertions, 0 deletions