diff options
author | 2022-04-17 22:27:13 -0400 | |
---|---|---|
committer | 2022-04-18 06:49:52 -0600 | |
commit | 5f0614a55ecebdf55f1a17db0b5f6b787ed009f1 (patch) | |
tree | 5d5de09e6c2658660bec89985daee191f83e0528 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | direct-io: remove random prefetches (diff) | |
download | linux-dev-5f0614a55ecebdf55f1a17db0b5f6b787ed009f1.tar.xz linux-dev-5f0614a55ecebdf55f1a17db0b5f6b787ed009f1.zip |
block: change exported IO accounting interface from gendisk to bdev
Export IO accounting interfaces in terms of block_device now that
gendisk has become more internal to block core.
Rename __part_{start,end}_io_acct's first argument from part to bdev.
Rename __part_{start,end}_io_acct to bdev_{start,end}_io_acct and
export them. Remove disk_{start,end}_io_acct and update caller (zram)
to use bdev_{start,end}_io_acct.
DM can now be updated to use bdev_{start,end}_io_acct.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Link: https://lore.kernel.org/r/20220418022733.56168-2-snitzer@kernel.org
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