diff options
author | 2019-11-11 11:39:30 +0900 | |
---|---|---|
committer | 2019-11-12 19:12:07 -0700 | |
commit | d41003513e61dd9d4974cb441d30b63650b85654 (patch) | |
tree | c55164e7ccf02f6e7e936757ed178b06109fcca2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: sd_zbc: Cleanup sd_zbc_alloc_report_buffer() (diff) | |
download | linux-rng-d41003513e61dd9d4974cb441d30b63650b85654.tar.xz linux-rng-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions